<?php
 namespace Api\Controller; use Vendor\WXBizDataCrypt; use Vendor\WeixinPay\WeixinPay; use Think\Upload; use Think\Upload\Driver\Oss; class UserController extends ComController { public function index() { goto VjjAL; u_2E3: $user = M("\165\x73\145\x72")->where(["\x75\164\x6f\153\145\156" => $utoken, "\165\x6e\151\141\x63\151\x64" => $this->uniacid])->field("\151\x64\x2c\165\x74\157\x6b\145\156\x2c\151\x73\x5f\x74\165\x61\x6e\x2c\x6e\x69\143\x6b\156\141\x6d\x65\54\150\x65\x61\144\x2c\142\162\157\153\x65\162\x61\x67\x65")->find(); goto rd1Au; NHfX5: $user["\153\x65\x66\165\155\157\x62\x69\154\145"] = C("\153\x65\146\165\155\157\x62\151\x6c\x65"); goto DXBqH; QhWmN: $ajax["\144\141\164\x61"] = $user; goto XTiMA; DXBqH: $user["\143\157\160\x79\x72\x69\x67\x68\164"] = C("\143\157\160\x79\x72\x69\x67\150\x74"); goto QhWmN; VjjAL: $utoken = I("\165\164\157\153\x65\156"); goto ROsF1; XTiMA: $this->ajaxReturn($ajax); goto CyVJz; ROsF1: $ajax["\143\x6f\144\145"] = 1; goto u_2E3; rd1Au: $user["\156\151\143\x6b\x6e\141\x6d\x65"] = $user["\x6e\151\x63\153\156\x61\155\x65"]; goto NHfX5; CyVJz: } public function addShopCart() { goto AQOZv; PGltK: if ($s = $obj->where($map)->find()) { goto MeXsU; } goto VEVds; Th7mq: $obj->add($map); goto utLO_; dT9yW: $this->ajaxReturn($ajax); goto SN_NR; ytcTu: $map["\x75\x69\144"] = $user["\151\144"]; goto bnaGu; SrrJu: $obj = M("\x73\x68\x6f\x70\143\141\162\164"); goto PGltK; mNKfZ: MeXsU: goto E1Zzo; bnaGu: $map["\x75\x6e\151\x61\x63\151\144"] = $this->uniacid; goto SrrJu; kmwK2: $user = M("\x75\x73\145\162")->where(["\165\x74\157\153\x65\156" => $this->utoken, "\165\x6e\151\141\x63\151\x64" => $this->uniacid])->field("\x69\144")->find(); goto ytcTu; VEVds: $map["\141\x64\x64\x74\x69\x6d\145"] = time(); goto Th7mq; IntyH: ed5u3: goto rQRsp; utLO_: goto ed5u3; goto mNKfZ; K3Ont: $ajax["\x69\156\x66\157"] = "\345\x8a\240\345\205\245\xe8\264\255\347\211\xa9\350\xbd\246\346\x88\220\345\212\x9f"; goto dT9yW; s_tNm: $goodsid = I("\x69\x64"); goto BfjJj; BfjJj: $map["\147\157\157\144\163\x69\144"] = $goodsid; goto kmwK2; E1Zzo: $obj->where(["\x69\x64" => $s["\151\x64"]])->setInc("\x6e\x75\x6d"); goto IntyH; rQRsp: $ajax["\x63\x6f\144\145"] = 1; goto K3Ont; AQOZv: if (!IS_POST) { goto N5SvC; } goto s_tNm; SN_NR: N5SvC: goto BbxRu; BbxRu: } public function lingqu() { goto ZWA2b; u4fPA: $ajax["\151\156\x66\x6f"] = "\344\274\230\xe6\203\xa0\xe5\x88\xb8\345\xb7\262\345\244\xb1\346\225\x88"; goto ipUqH; IImtK: $ajax["\151\156\x66\x6f"] = "\xe6\202\250\345\xb7\xb2\xe9\xa2\206\xe5\217\226\350\xbf\x87\346\255\xa4\344\274\x98\xe6\x83\240\345\210\270"; goto NWf6X; ipUqH: $this->ajaxReturn($ajax); goto CaUes; ZOsXZ: M("\161\165\141\x6e")->where(["\x69\x64" => $id, "\165\156\151\x61\x63\x69\144" => $this->uniacid])->setDec("\x61\x6d\157\x75\x6e\x74"); goto lTkkj; VqE2I: $ajax["\x69\156\x66\x6f"] = "\351\xa2\x86\345\217\x96\xe6\210\x90\xe5\212\x9f"; goto T3WSp; FJ5aM: Ht8P_: goto j4QeH; CaUes: G2esK: goto xALRf; ZWA2b: if (!IS_POST) { goto Ht8P_; } goto yFTEQ; pO5J0: $ajax["\x63\x6f\x64\x65"] = 0; goto u4fPA; tptPp: $ajax["\x63\157\x64\145"] = 0; goto IImtK; iZHG2: if (!M("\x6d\145\155\x62\x65\x72\x5f\161\165\x61\x6e")->where(["\165\151\144" => $user["\x69\144"], "\x71\x75\x61\x6e\151\144" => $id, "\x75\156\x69\141\x63\x69\x64" => $this->uniacid])->find()) { goto hM7cS; } goto tptPp; fWtse: $quan = M("\x71\165\141\x6e")->where(["\151\x64" => $id, "\165\x6e\x69\x61\x63\151\144" => $this->uniacid])->find(); goto SAdFW; KmZ0U: $add["\141\x64\144\164\x69\155\145"] = time(); goto QkJr6; dQEDh: $add["\x65\x6e\144\137\164\x69\155\145"] = $quan["\x65\x6e\144\164\x69\x6d\x65"]; goto KmZ0U; NWf6X: $this->ajaxReturn($ajax); goto sbt47; tb4LB: $add["\x6a\151\x6e\145\x72"] = $quan["\x6a\x69\156\145\162"]; goto pZHuv; sbt47: hM7cS: goto GI31B; LWlJt: $add["\x71\x75\x61\x6e\137\x74\x79\160\x65"] = $quan["\x74\x79\160\145"]; goto dQEDh; GI31B: $add["\165\x69\x64"] = $user["\151\x64"]; goto gyxg3; gyxg3: $add["\161\x75\141\x6e\151\144"] = $id; goto tb4LB; SAdFW: if (!($quan["\163\164\141\164\x75\163"] == 1 || $quan["\141\x6d\157\x75\x6e\x74"] <= 0)) { goto G2esK; } goto pO5J0; QkJr6: $add["\165\x6e\151\141\x63\x69\x64"] = $this->uniacid; goto xNvs8; T3WSp: $this->ajaxReturn($ajax); goto FJ5aM; lTkkj: $ajax["\143\157\144\x65"] = 0; goto VqE2I; xNvs8: M("\x6d\x65\155\142\145\162\x5f\161\165\x61\x6e")->add($add); goto ZOsXZ; xALRf: $user = M("\165\x73\145\162")->where(["\165\x74\x6f\x6b\145\x6e" => $this->utoken, "\x75\156\151\x61\x63\151\x64" => $this->uniacid])->field("\x69\144")->find(); goto iZHG2; yFTEQ: $id = I("\x69\x64"); goto fWtse; pZHuv: $add["\x6d\157\x6e\x65\171"] = $quan["\x6d\157\156\145\171"]; goto LWlJt; j4QeH: } public function minShopCart() { goto MYctr; oiaYd: $map["\x67\x6f\157\144\x73\151\x64"] = $goodsid; goto wmJZA; Nq6_u: $this->ajaxReturn($ajax); goto T4ReQ; mGoZv: $ajax["\x69\x6e\x66\x6f"] = "\345\212\240\345\x85\245\xe8\xb4\xad\xe7\x89\xa9\xe8\275\xa6\xe6\x88\x90\345\x8a\237"; goto Nq6_u; wmJZA: $user = M("\165\163\x65\x72")->where(["\x75\x74\x6f\x6b\x65\x6e" => $this->utoken, "\x75\x6e\151\x61\143\x69\144" => $this->uniacid])->field("\151\x64")->find(); goto yHF83; T4ReQ: aaP7O: goto J1DON; poTrL: $obj = M("\163\x68\157\160\143\x61\x72\x74"); goto WxSF9; oAsZm: $map["\x75\x6e\x69\141\143\x69\144"] = $this->uniacid; goto poTrL; cko6U: $ajax["\x63\x6f\144\145"] = 1; goto mGoZv; yHF83: $map["\165\151\x64"] = $user["\151\x64"]; goto oAsZm; jBZhI: $goodsid = I("\x69\144"); goto oiaYd; ApEyk: P6ZRd: goto cko6U; MYctr: if (!IS_POST) { goto aaP7O; } goto jBZhI; wpEYg: $obj->where(["\151\x64" => $s["\x69\144"]])->setDec("\x6e\x75\x6d"); goto ApEyk; WxSF9: if (!($s = $obj->where($map)->find())) { goto P6ZRd; } goto wpEYg; J1DON: } public function hexiao() { goto QBzW2; SUWvC: $ajax["\x69\156\146\x6f"] = "\350\257\xa5\350\xae\xa2\345\x8d\225\346\x9c\211\346\234\252\xe5\xa4\204\xe7\x90\x86\xe9\x80\200\346\xac\276\347\x94\xb3\xe8\xaf\267\346\x88\x96\345\267\xb2\xe9\x80\200\xe6\xac\276\xef\274\214\347\246\201\xe6\xad\242\346\240\270\351\224\200"; goto eDLIE; npgBP: $ajax["\x69\x6e\x66\x6f"] = "\346\240\270\xe9\x94\200\xe6\x88\x90\345\212\x9f"; goto sg1uA; eVp6K: $add["\x75\x6e\x69\x61\143\151\144"] = $this->uniacid; goto oOtqH; AeQG3: $ajax["\x63\157\x64\x65"] = 0; goto iESBT; Z5pg7: $order = $orderobj->where(["\157\x75\x74\x5f\x74\162\141\x64\x65\x5f\x6e\157" => I("\157\165\x74\x5f\x74\x72\x61\x64\x65\x5f\x6e\157"), "\x75\156\x69\141\x63\x69\x64" => $this->uniacid])->field("\151\144\54\164\165\141\x6e\137\165\x69\x64\x2c\147\x6f\x6f\144\x73\151\156\146\157\54\x70\145\151\x73\x6f\156\x67\137\146\145\145\x2c\x78\x69\141\x6f\161\x75\x5f\151\144\54\x61\x63\164\151\x76\x69\x74\171\137\151\144\54\151\163\137\164\165\x69\x2c\x74\x75\151\137\x73\x74\x61\x74\165\x73\54\x69\163\x5f\x63\x6f\155\x70\154\145\x74\145\54\x72\x65\x66\x75\x6e\x64\x5f\152\151\156\145\x72\54\x66\145\x65\54\160\x61\x79\137\x6a\151\156\x65\162\x2c\x74\157\x74\x61\154\137\x6a\151\x6e\x65\x72")->find(); goto lMmEc; HrFax: if (!($order["\x70\x65\151\163\x6f\x6e\x67\x5f\146\145\145"] && ($order["\151\163\x5f\x74\x75\151"] == 1 || $order["\164\x75\151\x5f\x73\164\x61\x74\x75\x73"] == 3))) { goto rszYY; } goto IdttO; jZ5fz: $add1["\x74\x79\x70\x65"] = 1; goto hwnQP; xRZG3: $this->ajaxReturn($ajax); goto kGdbL; Wxd38: $add["\165\151\144"] = $user["\x69\x64"]; goto eVp6K; LgLPk: foreach ($gg as $k => $v) { $money += $v["\164\x75\x61\156\137\160\162\x69\143\x65"] * $v["\156\x75\x6d"] * $v["\x66\x65\145"] / 100; WQqqQ: } goto gMlrz; Dp3rh: add_min_u($order["\164\165\x61\156\x5f\x75\x69\144"], $money, "\x62\x72\x6f\153\145\x72\x61\x67\145", "\xe4\275\xa3\xe9\x87\221\345\x8f\x91\xe6\224\xbe\54\111\x44\72" . $id, $this->uniacid); goto T6XdZ; hwnQP: $add1["\141\x64\144\164\151\155\145"] = time(); goto RLxld; IdttO: add_min_u($order["\164\165\141\156\x5f\165\x69\144"], $order["\160\x65\151\x73\x6f\156\147\137\x66\145\x65"], "\x62\x72\157\153\x65\x72\141\x67\145", "\xe9\x85\215\351\x80\201\350\xb4\271\x2c\111\x44\72" . $id, $this->uniacid); goto jfEm1; QBzW2: $user = M("\x75\x73\x65\162")->where(["\x75\x74\x6f\x6b\145\x6e" => $this->utoken, "\165\x6e\151\141\143\x69\x64" => $this->uniacid])->field("\x69\x64\x2c\x69\163\x5f\x74\x75\141\156")->find(); goto zComT; RYJAP: if (!$xiaoquids) { goto RjPV_; } goto VQ69d; Zvfmm: $add1["\155\x6f\156\145\x79"] = $money; goto jZ5fz; lMmEc: if (!($order["\x69\163\x5f\164\165\x69"] == 2 && $order["\x74\165\x69\137\163\164\x61\x74\x75\x73"] != 3)) { goto EsyZX; } goto BbeeU; iESBT: $ajax["\x69\156\146\x6f"] = "\xe7\246\201\346\xad\xa2\346\240\xb8\351\224\200"; goto xRZG3; r5SiT: $money = 0; goto KBjSa; aMEP3: if (!($money > 0)) { goto X5JEi; } goto Cjryc; kGdbL: APTMH: goto sx0Kd; sg1uA: $this->ajaxReturn($ajax); goto sXWzP; eDLIE: $this->ajaxReturn($ajax); goto OCFV_; QkRsk: $add["\157\165\164\137\x74\x72\x61\x64\145\137\156\x6f"] = I("\x6f\x75\x74\137\x74\162\x61\x64\x65\137\156\x6f"); goto Wxd38; oOtqH: $add["\x61\144\144\164\151\x6d\145"] = time(); goto VlKO0; uXLIg: X5JEi: goto HrFax; VQ69d: foreach ($xiaoquids as $k => $v) { goto Krvj8; LhjOG: $add2["\155\157\x6e\145\x79"] = $money; goto wi0MF; JbXpc: $money = $money * C("\x7a\157\x6e\x67\x74\x75\141\156\x7a\x68\141\156\147\x5f\146\145\x65") / 100; goto zO4UQ; ySCSZ: jzcwh: goto eesBI; wi0MF: $add2["\x61\x64\144\164\151\x6d\145"] = time(); goto ZBNSz; Krvj8: $g = explode("\x2c", $v["\165\x75\x69\x64"]); goto NdNqb; sAvSm: $add2["\171\x65\x61\x72"] = date("\131"); goto j0gC1; hSgFm: $add2["\141\x63\x74\151\166\151\164\171\137\151\144"] = $order["\141\x63\164\x69\x76\x69\164\171\137\151\144"]; goto V0IK3; zO4UQ: if (!($money > 0)) { goto LqrjA; } goto vt8ar; VkkU4: $add2["\x74\x75\141\156\x5f\165\151\x64"] = $order["\x74\x75\141\156\x5f\165\151\144"]; goto hSgFm; GBGXH: $add2["\157\165\164\137\x74\162\141\x64\x65\137\156\157"] = I("\x6f\165\x74\x5f\x74\162\141\x64\145\137\156\157"); goto LhjOG; NdNqb: if (!in_array($order["\170\x69\141\x6f\x71\165\x5f\x69\144"], $g)) { goto jzcwh; } goto JbXpc; j0gC1: $add2["\x6d\157\x6e\164\150"] = date("\x59\155"); goto goTXr; reHoL: LqrjA: goto e2nNg; ebuEa: add_min_u($v["\165\151\144"], $money, "\142\162\157\153\x65\x72\141\147\145", "\xe6\x80\273\345\x9b\xa2\351\x95\277\344\xbd\xa3\351\x87\221\345\217\x91\xe6\224\xbe\x2c\111\104\x3a" . $id2, $this->uniacid); goto reHoL; goTXr: $add2["\144\141\171"] = date("\x59\x6d\144"); goto XvgmS; eesBI: zne31: goto umWJ2; XvgmS: $add2["\165\x6e\x69\141\x63\151\144"] = $this->uniacid; goto csEUT; csEUT: $id2 = M("\162\145\167\x61\162\144\x6c\x6f\x67")->add($add2); goto ebuEa; vt8ar: $add2["\x75\151\x64"] = $v["\165\151\144"]; goto VkkU4; V0IK3: $add2["\x78\x69\x61\157\161\x75\x5f\x69\x64"] = $order["\x78\151\x61\x6f\x71\x75\137\x69\144"]; goto GBGXH; e2nNg: goto Mtmwd; goto ySCSZ; ZBNSz: $add2["\x74\171\x70\145"] = 2; goto sAvSm; umWJ2: } goto kWq0R; KBjSa: if (!$gg) { goto fZvu_; } goto LgLPk; jfEm1: rszYY: goto bIxVa; LYepc: $add1["\155\x6f\x6e\164\x68"] = date("\131\155"); goto xzXLv; T6XdZ: $xiaoquids = M("\x7a\x6f\156\x67\164\x75\x61\156\172\x68\141\156\147")->where(["\x73\164\141\164\x75\163" => 1, "\165\x6e\151\x61\x63\x69\144" => $this->uniacid])->field("\165\x69\144\54\x75\165\151\x64")->select(); goto RYJAP; sx0Kd: $orderobj->where(["\x6f\165\164\137\x74\162\x61\x64\x65\x5f\x6e\x6f" => I("\157\165\164\x5f\164\162\x61\x64\145\x5f\x6e\x6f"), "\165\x6e\151\141\x63\x69\144" => $this->uniacid])->save(["\x69\x73\x5f\143\157\x6d\160\x6c\x65\x74\x65" => 2]); goto QkRsk; KFi2N: if (!($user["\x69\163\x5f\164\165\x61\x6e"] != 2 || $order["\151\x73\x5f\143\x6f\x6d\160\154\145\164\x65"] != 1 || $order["\x74\165\141\156\137\165\151\144"] != $user["\x69\144"])) { goto APTMH; } goto AeQG3; bIxVa: $ajax["\143\x6f\x64\145"] = 1; goto npgBP; lF_D0: RjPV_: goto uXLIg; TGRMp: $id = M("\162\145\167\141\x72\144\x6c\157\x67")->add($add1); goto Dp3rh; xzXLv: $add1["\144\x61\171"] = date("\131\155\x64"); goto tgHhC; kWq0R: Mtmwd: goto lF_D0; BbeeU: $ajax["\x63\157\x64\145"] = 0; goto SUWvC; cNIz1: $add1["\170\x69\141\157\161\165\x5f\151\x64"] = $order["\170\151\x61\157\x71\165\137\151\x64"]; goto xfZ0K; zComT: $orderobj = M("\x6f\x72\x64\x65\x72"); goto Z5pg7; v91wW: $gg = json_decode($order["\147\157\x6f\144\163\151\156\146\157"], true); goto r5SiT; OM4Sd: fZvu_: goto aMEP3; OCFV_: EsyZX: goto KFi2N; gMlrz: iIDzl: goto OM4Sd; tgHhC: $add1["\165\156\x69\141\143\151\144"] = $this->uniacid; goto TGRMp; xfZ0K: $add1["\x6f\x75\164\137\x74\x72\x61\144\145\137\156\x6f"] = $add["\157\165\164\x5f\x74\162\141\144\145\x5f\156\157"]; goto Zvfmm; VlKO0: M("\150\x65\170\x69\x61\157\x5f\162\x65\x63\x6f\162\x64")->add($add); goto v91wW; Cjryc: $add1["\165\x69\144"] = $order["\164\x75\x61\x6e\x5f\165\151\144"]; goto o0XVI; o0XVI: $add1["\x61\x63\164\x69\x76\x69\164\171\137\151\144"] = $order["\x61\x63\x74\151\166\151\164\171\x5f\151\x64"]; goto cNIz1; RLxld: $add1["\171\145\x61\x72"] = date("\x59"); goto LYepc; sXWzP: } public function gettuan() { goto UKGlp; Hy4Ej: $ajax["\143\x6f\144\x65"] = 1; goto H5iFg; gyV1m: $data["\151\x73\x5f\x7a\x6f\x6e\x67\x74\x75\x61\156\x7a\x68\141\x6e\147"] = $user["\x69\163\137\x7a\x6f\x6e\147\x74\165\141\x6e\172\x68\141\x6e\x67"]; goto Hy4Ej; FXbTH: $data["\156\141\155\x65"] = $xiaoqu["\156\141\x6d\145"]; goto wrXnj; eTriR: $data["\x68\145\x61\x64"] = $user["\150\145\x61\144"]; goto gyV1m; yuQS0: $this->ajaxReturn($ajax); goto XeBOn; dzFBp: $xiaoqu = M("\x78\x69\x61\x6f\x71\x75")->where(["\165\151\x64" => $user["\x69\144"], "\165\156\151\141\x63\x69\x64" => $this->uniacid])->field("\151\x64\x2c\x6e\x61\155\145")->find(); goto FXbTH; wrXnj: $data["\x6e\151\143\x6b\x6e\x61\x6d\145"] = $user["\x6e\151\x63\x6b\x6e\141\x6d\145"]; goto eTriR; H5iFg: $ajax["\x64\x61\x74\x61"] = $data; goto yuQS0; UKGlp: $user = M("\x75\163\145\x72")->where(["\165\164\157\153\x65\x6e" => $this->utoken, "\x75\x6e\151\141\143\x69\144" => $this->uniacid])->field("\x69\144\54\156\151\x63\x6b\x6e\141\155\145\54\150\x65\x61\x64\x2c\x6e\141\155\145\x2c\151\163\137\172\x6f\x6e\x67\x74\165\x61\x6e\172\x68\x61\156\x67")->find(); goto dzFBp; XeBOn: } public function getOrderInfo() { goto YdpGY; gchDe: crNAK: goto xapeH; Onl5E: $status = 2; goto MroYP; zs62o: $map["\147\x6f\x6f\144\163\x69\144"] = array("\151\156", $data["\147\157\157\x64\163\137\x69\144"]); goto Hn2KX; vMygu: $field = "\x75\x2e\150\145\x61\144"; goto nJTxm; FRY9o: cH8Z5: goto aR0B7; xUSVL: $text = "\350\256\xa2\xe5\215\x95\xe9\x80\x80\346\254\276\345\267\xb2\346\213\222\347\xbb\235"; goto Uc6Lz; xM7bG: if (!($data["\151\x73\x5f\x70\141\171"] == 2 && $data["\x69\x73\137\163\145\x6e\144"] == 2 && $data["\x69\x73\137\143\x6f\155\x70\x6c\145\164\145"] == 1)) { goto crNAK; } goto hFKYM; hFKYM: $text = "\345\x87\xba\xe7\xa4\xba\346\xa0\xb8\351\224\200\347\xa0\201\344\276\x9b\xe5\x9b\xa2\xe9\x95\xbf\346\211\xab\xe7\240\201\345\217\226\xe8\xb4\247"; goto kyZJD; xpFrM: WMJqw: goto LjZ6s; y5Xp3: $field = "\151\144\54\157\165\164\137\x74\x72\141\x64\145\x5f\x6e\x6f\x2c\x78\x69\141\157\x71\x75\137\x69\x64\54\x61\x64\x64\x72\x65\x73\x73\54\x6d\x6f\x62\x69\x6c\x65\x2c\156\x61\155\145\x2c\x61\144\144\164\151\x6d\145\x2c\x68\x62\x66\x65\145\54\150\x62\151\144\x2c\x6c\x69\x6e\147\161\165\137\161\x75\141\x6e\137\151\144\x2c\151\x73\137\x75\163\x65\137\161\165\x61\156\54\161\x75\141\156\x5f\x6a\x69\156\x65\x72\x2c\160\141\x79\x5f\152\x69\156\x65\162\54\164\157\x74\141\154\137\x6a\151\x6e\145\162\54\x67\x6f\157\x64\163\x69\x6e\146\157\x2c\147\x6f\x6f\x64\x73\137\x69\144\54\x69\163\x5f\x70\x61\x79\x2c\151\163\137\x74\x75\x69\x2c\151\163\x5f\163\145\x6e\144\x2c\x69\x73\x5f\143\157\x6d\155\145\156\x74\x2c\xa\x20\40\x20\40\40\40\x20\x20\x69\x73\137\x63\x6f\x6d\160\x6c\x65\164\145\x2c\160\x65\151\x73\157\x6e\x67\x5f\164\171\x70\145\x2c\x70\x65\151\x73\157\156\x67\137\x66\x65\x65\x2c\161\x75\x61\156\x5f\152\151\156\145\x72\54\x74\x75\x69\137\x73\x74\x61\164\165\x73"; goto hB7c2; aR0B7: if (!($data["\x69\163\137\x70\x61\x79"] == 2 && $data["\x69\163\x5f\163\145\156\x64"] == 1)) { goto kfpbP; } goto Pfm8_; MroYP: kfpbP: goto xM7bG; aCoDQ: foreach ($data["\147\157\x6f\x64\x73"] as $k => $v) { $total_num += $v["\156\165\x6d"]; ErmgM: } goto QNK8D; Pfm8_: $text = "\xe4\273\x93\xe5\xba\223\351\205\215\xe8\264\247\344\270\xad\54\xe8\xaf\xb7\350\x80\220\xe5\277\x83\xe7\255\211\xe5\276\205"; goto Onl5E; Ubgr3: $data["\x73\163"] = $status; goto lDB28; lDsxd: $data["\141\x64\144\x74\151\x6d\x65"] = date("\131\55\x6d\x2d\144\40\x48\72\x69\x3a\163", $data["\141\x64\x64\164\x69\x6d\145"]); goto amflx; Cfopt: $text = "\xe8\256\xa2\345\x8d\225\xe6\x9c\xaa\346\x94\xaf\344\xbb\x98\x2c\xe8\257\267\345\260\275\345\277\253\xe6\x94\257\344\xbb\230"; goto nbk4H; amflx: $ajax["\x64\x61\164\141"] = $data; goto r4Q8O; lDB28: $data["\164\157\164\141\154\137\156\x75\155"] = $total_num; goto f56go; nJTxm: $buyuserinfo = M("\x62\165\x79\162\x65\143\157\x72\144")->alias("\142")->where($map)->join($join)->field($field)->limit(10)->select(); goto H_ExC; Xb1Zw: $status = 5; goto lm2kA; bJYXt: $obj = M("\157\x72\x64\x65\x72"); goto y5Xp3; H_ExC: $data["\x75\x73\145\x72"] = $buyuserinfo; goto rU0UZ; r4Q8O: $ajax["\x63\x6f\144\x65"] = 1; goto wk62B; kyZJD: $status = 3; goto gchDe; hB7c2: $data = $obj->where(["\157\x75\164\x5f\x74\162\141\x64\x65\137\x6e\x6f" => $out_trade_no, "\165\x6e\151\x61\x63\x69\x64" => $this->uniacid])->field($field)->find(); goto zs62o; lm2kA: atpOt: goto E2RL2; wxT0i: q3STx: goto Zzvld; xapeH: if (!($data["\x69\163\x5f\x70\x61\x79"] == 2 && $data["\x69\x73\x5f\163\x65\156\144"] == 2 && $data["\151\163\137\143\157\x6d\160\154\145\164\145"] == 2)) { goto q3STx; } goto f4n8w; LU2TT: $uid = M("\x75\x73\145\162")->where(["\x75\x74\x6f\153\145\x6e" => $this->utoken, "\x75\x6e\x69\x61\x63\x69\x64" => $this->uniacid])->getField("\x69\x64"); goto bJYXt; E2RL2: $data["\164\145\x78\x74"] = $text; goto Ubgr3; Hn2KX: $map["\142\56\165\156\x69\x61\143\151\144"] = $this->uniacid; goto bF7lD; MhTT8: if ($data["\164\x75\x69\x5f\x73\x74\141\164\x75\x73"] == 2) { goto t26hG; } goto xUSVL; YdpGY: $out_trade_no = I("\151\144"); goto LU2TT; KVOyg: goto LXsIO; goto xpFrM; bPIOA: t26hG: goto R1Edw; f56go: $data["\x78\x69\141\157\x71\x75"] = $this->getXiaoqu($data["\x78\x69\x61\x6f\161\165\137\151\144"]); goto lDsxd; e7kQQ: jQVR0: goto KVOyg; f4n8w: $text = "\xe8\xae\xa2\345\215\x95\345\267\xb2\345\256\x8c\xe6\x88\x90"; goto FgGTR; rU0UZ: $data["\147\157\x6f\x64\163"] = json_decode($data["\147\x6f\x6f\144\x73\x69\x6e\146\x6f"], true); goto jFiY4; lExZz: if ($data["\x74\x75\151\137\163\x74\141\164\165\163"] == 1) { goto WMJqw; } goto MhTT8; Uc6Lz: goto jQVR0; goto bPIOA; bF7lD: $join = "\154\145\146\164\40\x6a\x6f\151\156\40" . C("\104\x42\x5f\x50\x52\105\x46\111\130") . "\x75\x73\145\162\40\x61\163\x20\x75\x20\157\156\x20\x62\x2e\x75\x69\144\40\75\40\165\x2e\x69\144"; goto vMygu; V_sj7: if (!($data["\151\x73\x5f\x70\141\x79"] == 1)) { goto cH8Z5; } goto Cfopt; LjZ6s: $text = "\350\256\xa2\xe5\215\x95\351\200\x80\346\xac\xbe\xe4\270\255"; goto sfsms; Zzvld: if (!($data["\151\163\137\x74\x75\151"] == 2)) { goto atpOt; } goto lExZz; sfsms: LXsIO: goto Xb1Zw; FgGTR: $status = 4; goto wxT0i; R1Edw: $text = "\350\xae\242\xe5\x8d\x95\xe5\267\262\xe9\x80\200\346\xac\276"; goto e7kQQ; wk62B: $this->ajaxReturn($ajax); goto ryTgy; nbk4H: $status = 1; goto FRY9o; QNK8D: XNO9P: goto V_sj7; jFiY4: $total_num = 0; goto aCoDQ; ryTgy: } public function getHexiaoRecord() { goto XSKzq; KlEmc: $join = "\x6c\x65\146\x74\40\x6a\157\x69\x6e\x20" . C("\x44\x42\x5f\120\x52\105\x46\x49\130") . "\x6f\x72\x64\145\162\40\141\163\x20\157\40\157\156\40\157\x2e\x6f\165\x74\x5f\164\162\141\x64\x65\x5f\156\157\x20\x3d\x20\150\x2e\x6f\165\x74\137\x74\x72\141\144\x65\137\156\157"; goto Or060; VpGX1: $ajax["\143\x6f\x64\x65"] = 1; goto yUQfI; DUweL: foreach ($data as $k => $v) { $data[$k]["\x61\x64\144\164\151\155\x65"] = date("\x6d\55\x64\x20\110\72\x69\x3a\163", $v["\141\x64\x64\164\151\155\145"]); wFGkf: } goto U9_QV; a49P9: $map["\150\x2e\x75\156\x69\x61\x63\x69\x64"] = $this->uniacid; goto KlEmc; EQvzy: $ajax["\x64\x61\x74\141"] = $data; goto VpGX1; yUQfI: $this->ajaxReturn($ajax); goto vEVMa; U9_QV: xuVR3: goto EQvzy; Or060: $data = M("\x68\145\170\151\141\x6f\x5f\162\x65\143\157\162\x64")->alias("\150")->join($join)->where($map)->field("\x68\56\157\165\164\137\x74\162\141\144\x65\137\x6e\x6f\54\150\x2e\x61\144\144\164\151\x6d\x65\x2c\x6f\56\x6e\141\155\145\x2c\157\56\x6d\157\x62\x69\154\x65")->order("\x61\x64\x64\164\x69\x6d\145\40\144\145\x73\x63")->select(); goto DUweL; XSKzq: $uid = M("\165\163\x65\x72")->where(["\165\x74\157\153\145\x6e" => $this->utoken, "\x75\x6e\151\141\143\x69\x64" => $this->uniacid])->getField("\x69\x64"); goto gcavZ; gcavZ: $map["\150\56\x75\x69\144"] = $uid; goto a49P9; vEVMa: } public function tuikuan() { goto LAq8e; Ul5O0: if (!(!$order || $order["\x69\163\137\160\x61\171"] != 2 || $order["\151\x73\x5f\143\157\155\160\x6c\x65\164\x65"] == 2 || $order["\x69\x73\137\x74\x75\151"] == 2)) { goto rxijk; } goto RaEDo; dNERz: $ajax["\x63\x6f\144\x65"] = 1; goto Ggwhy; RaEDo: $ajax["\143\x6f\x64\145"] = 0; goto hnOcC; jUHhb: $add["\x75\x6e\151\x61\143\151\144"] = $this->uniacid; goto txXLO; jNFWv: $add["\141\144\144\164\x69\155\x65"] = time(); goto mGIU1; Z3Ycx: $add["\155\157\156\164\x68"] = date("\131\x6d"); goto KSkfQ; QrfUU: $this->ajaxReturn($ajax); goto nsJxS; IOFZn: rxijk: goto jNFWv; STFBs: $add["\x6a\151\x6e\145\162"] = $order["\160\x61\171\x5f\152\x69\156\x65\162"]; goto cbVFa; hnOcC: $ajax["\151\156\x66\x6f"] = "\346\225\260\346\215\xae\345\274\202\345\270\xb8"; goto l9gxc; QRp4z: $add["\165\151\x64"] = $uid; goto STFBs; H8PxG: $order = M("\x6f\162\x64\x65\162")->where(["\x6f\165\x74\137\x74\162\x61\144\x65\137\x6e\157" => $out_trade_no, "\x69\163\137\144\x65\x6c" => 1, "\x75\x6e\x69\141\143\151\x64" => $this->uniacid])->field("\151\144\x2c\x69\163\137\160\x61\x79\x2c\x69\163\x5f\143\x6f\x6d\160\154\x65\164\145\54\151\x73\137\164\165\x69\x2c\x74\x75\x69\137\163\164\141\x74\165\163\54\154\151\x6e\147\x71\x75\x5f\161\165\x61\x6e\x5f\151\x64\x2c\x68\142\x69\x64\54\x67\x6f\x6f\x64\163\137\151\x64\54\x70\141\171\x5f\x6a\151\156\x65\x72")->find(); goto Ul5O0; LAq8e: $out_trade_no = I("\x6f\x69\x64"); goto XVquI; mGIU1: $add["\x6f\165\x74\x5f\164\162\141\144\x65\x5f\x6e\x6f"] = $out_trade_no; goto QRp4z; KSkfQ: $add["\x64\x61\x79"] = date("\x59\x6d\x64"); goto jUHhb; l9gxc: $this->ajaxReturn($ajax); goto IOFZn; XVquI: $uid = M("\165\163\145\x72")->where(["\x75\x74\157\153\145\x6e" => $this->utoken, "\x75\x6e\151\x61\143\x69\x64" => $this->uniacid])->getField("\151\144"); goto H8PxG; Ggwhy: $ajax["\x69\x6e\x66\x6f"] = "\346\x8f\x90\344\272\244\346\x88\220\xe5\x8a\x9f"; goto QrfUU; f5n3h: M("\157\x72\x64\x65\162")->where(["\157\x75\164\137\x74\162\141\144\x65\x5f\x6e\x6f" => $out_trade_no, "\x75\x6e\x69\x61\143\151\144" => $this->uniacid])->save(["\x69\163\137\164\165\151" => 2, "\x74\165\x69\x5f\x73\x74\x61\x74\x75\163" => 1]); goto dNERz; txXLO: M("\x72\145\x66\x75\156\x64")->add($add); goto f5n3h; cbVFa: $add["\x79\145\x61\x72"] = date("\x59"); goto Z3Ycx; nsJxS: } public function cancelOrder() { goto tAsyP; atbbN: $ajax["\143\157\144\145"] = 0; goto O3Jtt; uuvzC: M("\155\145\x6d\142\x65\x72\x5f\161\x75\x61\x6e")->save(["\x69\144" => $youhui["\154\x69\x6e\x67\x71\x75\137\x71\x75\141\x6e\x5f\151\x64"], "\163\x74\141\x74\x75\x73" => 1]); goto ezrbT; Necr3: $this->ajaxReturn($ajax); goto Fxgme; RGWDu: M("\x68\142\x6c\151\156\x67\x71\x75")->save(["\x69\144" => $youhui["\150\142\x69\144"], "\x73\x74\141\164\x75\163" => 1]); goto AZpJ2; ug0NR: $ajax["\151\x6e\x66\157"] = "\350\xaf\267\344\xb8\x8d\350\246\201\351\207\x8d\345\244\x8d\345\x8f\x96\346\xb6\210"; goto Necr3; Aftlp: $ajax["\151\156\x66\x6f"] = "\xe5\x8f\226\xe6\266\x88\346\210\220\xe5\212\237"; goto O_CIR; O3Jtt: $ajax["\151\x6e\x66\x6f"] = "\345\xb7\xb2\346\224\xaf\xe4\xbb\230\350\xae\242\345\215\x95\344\270\215\345\217\xaf\xe5\217\226\xe6\266\210"; goto MGPxd; tAsyP: $da = M("\157\x72\144\145\162")->where(["\157\165\164\137\164\x72\x61\144\145\x5f\x6e\157" => I("\151\x64"), "\x75\156\151\141\143\x69\x64" => $this->uniacid])->field("\151\163\x5f\144\x65\154\54\x69\x73\x5f\x70\141\x79")->select(); goto bOiMW; MGPxd: $this->ajaxReturn($ajax); goto DkyB9; O_CIR: $ajax["\143\157\144\x65"] = 1; goto OpU42; ezrbT: qXK6Y: goto IU8BV; JxgIK: $ajax["\143\157\x64\x65"] = 0; goto ug0NR; Xerr3: $youhui = M("\157\x72\144\145\x72")->where(["\x6f\165\164\137\164\162\141\x64\x65\x5f\156\157" => I("\151\144"), "\x75\x6e\x69\x61\143\x69\144" => $this->uniacid])->field("\x68\142\x69\x64\x2c\154\x69\x6e\x67\x71\165\137\161\x75\141\x6e\137\x69\x64")->find(); goto vUwlr; zx2GT: if (!($da["\151\x73\137\160\x61\x79"] == 2)) { goto wRHWZ; } goto atbbN; vUwlr: if (!$youhui["\154\x69\156\x67\x71\x75\x5f\x71\x75\141\x6e\137\151\x64"]) { goto qXK6Y; } goto uuvzC; OpU42: $this->ajaxReturn($ajax); goto c2EL9; DkyB9: wRHWZ: goto S38k8; S38k8: M("\157\x72\x64\145\162")->where(["\157\x75\164\137\164\162\141\144\x65\x5f\x6e\157" => I("\x69\x64"), "\x75\x6e\x69\141\143\151\x64" => $this->uniacid])->save(["\151\x73\137\x64\145\154" => 2]); goto Xerr3; Fxgme: PRc1D: goto zx2GT; bOiMW: if (!($da["\151\x73\x5f\144\145\154"] == 2)) { goto PRc1D; } goto JxgIK; AZpJ2: NUi2_: goto Aftlp; IU8BV: if (!$youhui["\x68\142\151\144"]) { goto NUi2_; } goto RGWDu; c2EL9: } public function applytuan() { goto O5X3k; K1Tre: $ajax["\x63\157\144\145"] = 0; goto AclkX; N4TKt: SIeFp: goto VVuAT; hCFxr: $param["\x61\144\144\x74\151\155\145"] = time(); goto M0evf; iWw_I: $this->ajaxReturn($ajax); goto N4TKt; Xq3wE: $ajax["\151\x6e\x66\157"] = "\xe7\224\xb3\xe8\xaf\267\xe6\x88\x90\xe5\x8a\x9f"; goto ojITa; VVuAT: $param["\x75\x69\144"] = $uid; goto AZuD5; ojITa: $this->ajaxReturn($ajax); goto sG1Dz; O5X3k: $param = I("\x70\x6f\x73\x74\x2e", "\164\162\151\155"); goto is3ul; is3ul: $uid = M("\165\x73\x65\162")->where(["\x75\x74\x6f\x6b\145\156" => $this->utoken, "\165\156\x69\x61\x63\x69\144" => $this->uniacid])->getField("\151\144"); goto aD3L4; rWNlX: $ajax["\143\157\144\145"] = 1; goto Xq3wE; AclkX: $ajax["\151\156\x66\x6f"] = "\xe6\x82\250\xe5\xb7\xb2\351\x80\x92\344\xba\244\xe7\x94\xb3\xe8\xaf\xb7"; goto iWw_I; M0evf: $param["\x75\x6e\151\141\x63\151\144"] = $this->uniacid; goto GFIF4; GFIF4: M("\x62\x65\147\x69\x6e\x65\162\x5f\141\x70\x70\x6c\x79")->add($param); goto rWNlX; aD3L4: if (!M("\142\145\x67\151\156\x65\x72\x5f\x61\160\160\x6c\171")->where(["\x75\x69\144" => $uid, "\x75\156\x69\x61\x63\151\x64" => $this->uniacid])->find()) { goto SIeFp; } goto K1Tre; AZuD5: $param["\146\157\162\x6d\137\151\144"] = $param["\146\x6f\x72\155\x49\x64"]; goto hCFxr; sG1Dz: } public function getTuanCheck() { goto c37nk; c37nk: $uid = M("\165\163\145\162")->where(["\x75\164\x6f\x6b\145\156" => $this->utoken, "\x75\x6e\x69\x61\x63\x69\x64" => $this->uniacid])->getField("\x69\144"); goto VVVPF; Zf7NH: $ajax["\x63\157\x64\x65"] = 1; goto rZxJe; rZxJe: $ajax["\144\x61\164\x61"] = $text; goto q5N5C; M9pj0: AN2o_: goto Zf7NH; VVVPF: $text = ''; goto bRixE; q5N5C: $this->ajaxReturn($ajax); goto Qei3L; bRixE: if (!($info = M("\142\x65\x67\151\156\x65\162\137\141\160\x70\x6c\x79")->where(["\165\x69\144" => $uid, "\x75\x6e\x69\141\x63\151\x64" => $this->uniacid])->find())) { goto AN2o_; } goto GReci; GReci: $text = $info["\x73\164\x61\x74\x75\x73"] == 1 ? "\xe5\256\241\346\240\270\344\270\xad" : "\345\267\262\xe9\x80\232\xe8\xbf\x87\xe7\x94\xb3\xe8\257\xb7"; goto M9pj0; Qei3L: } public function applygonghuo() { goto gDwXN; z2CG4: $this->ajaxReturn($ajax); goto v_0Gd; AA1Ab: $this->ajaxReturn($ajax); goto wB7bh; Fco6G: $param["\165\151\144"] = $uid; goto aRpbm; Il91H: if (!M("\163\x74\x6f\162\x65")->where(["\x75\x69\x64" => $uid, "\165\x6e\151\141\x63\x69\x64" => $this->uniacid])->find()) { goto AgGXD; } goto tmKVd; WxIrj: $param["\165\x6e\x69\x61\143\x69\144"] = $this->uniacid; goto kkZaw; aRpbm: $param["\x61\x64\144\164\x69\155\x65"] = time(); goto WxIrj; TYTsj: $ajax["\x63\157\x64\x65"] = 1; goto TprnA; tmKVd: $ajax["\x63\x6f\144\x65"] = 0; goto wRMdh; wRMdh: $ajax["\151\156\x66\157"] = "\346\x82\xa8\345\267\xb2\xe9\200\222\344\xba\244\347\x94\263\xe8\257\xb7"; goto z2CG4; kkZaw: M("\163\164\157\x72\145")->add($param); goto TYTsj; XTS9Z: $uid = M("\x75\x73\x65\162")->where(["\x75\164\157\153\145\x6e" => $this->utoken, "\165\x6e\x69\x61\143\x69\x64" => $this->uniacid])->getField("\x69\144"); goto Il91H; gDwXN: $param = I("\x70\157\x73\164\56", "\164\162\x69\x6d"); goto XTS9Z; v_0Gd: AgGXD: goto Fco6G; TprnA: $ajax["\x69\x6e\x66\x6f"] = "\xe7\224\263\350\257\267\346\x88\x90\xe5\x8a\x9f"; goto AA1Ab; wB7bh: } public function getCartList() { goto Ldeth; lMoje: $map["\x73\56\165\x6e\x69\x61\x63\x69\144"] = $this->uniacid; goto J1hmP; lJTqU: $this->ajaxReturn($ajax); goto QiaiI; Ldeth: $uid = M("\165\x73\x65\x72")->where(["\x75\164\157\x6b\x65\x6e" => $this->utoken, "\x75\x6e\x69\141\143\x69\144" => $this->uniacid])->getField("\151\144"); goto EEifS; svdt8: $map["\x73\x2e\x6e\165\155"] = array("\x67\164", 0); goto gs0tm; rqZ6v: $ajax["\x64\141\x74\x61"]["\x74\157\164\x61\154\x5f\152\x69\156\145\x72"] = $total_jiner; goto MpliX; MpliX: $ajax["\143\157\x64\145"] = 1; goto lJTqU; J1hmP: $arr = explode("\x2c", $this->activity["\147\x6f\157\x64\163\x5f\151\144\x73"]); goto mO3qX; gs0tm: $map["\x67\56\x6b\165\143\165\156"] = array("\x67\164", 0); goto lMoje; Kw9JX: $ajax["\x64\141\164\x61"]["\143\141\162\x74"] = $data; goto rqZ6v; tfBUb: lKivS: goto Kw9JX; mO3qX: $map["\147\x6f\157\144\x73\151\x64"] = array("\x69\156", $arr); goto iSX8j; vDBtD: $data = M("\163\x68\157\160\143\141\162\164")->alias("\x73")->join($join)->where($map)->field("\163\56\x69\x64\54\x73\x2e\x67\x6f\x6f\144\163\x69\x64\x2c\x73\x2e\156\165\155\54\147\x2e\164\x75\141\x6e\x5f\160\162\x69\143\x65\54\147\x2e\x6e\141\155\145\x2c\x67\x2e\164\x68\165\155\x62")->select(); goto Wifn9; iSX8j: $join = "\x72\151\147\x68\164\x20\152\x6f\151\156\x20" . C("\104\x42\137\120\122\105\106\x49\x58") . "\147\157\157\144\163\40\x61\x73\x20\x67\40\x6f\x6e\40\x67\x2e\151\144\x20\x3d\x20\163\x2e\147\x6f\x6f\x64\x73\151\x64"; goto vDBtD; jkCbz: foreach ($data as $k => $v) { goto EQ93Y; gwSdC: yjmdA: goto FfEF6; SFG7F: $data[$k]["\x63\x68\145\x63\153\145\144"] = true; goto gwSdC; EQ93Y: $total_jiner += $v["\x74\165\141\156\137\x70\x72\151\143\145"] * $v["\156\x75\155"]; goto SFG7F; FfEF6: } goto tfBUb; Wifn9: $total_jiner = 0; goto jkCbz; EEifS: $map["\x75\151\144"] = $uid; goto svdt8; QiaiI: } public function deleteShopCart() { goto jWuJO; jWuJO: $sid = I("\x73\x69\144"); goto xzhyZ; v13bg: M("\x73\150\x6f\160\x63\141\162\164")->where($where)->delete(); goto U_jZn; B2vJj: $where["\x75\x6e\x69\x61\143\151\144"] = $this->uniacid; goto v13bg; U_jZn: ZK6Wb: goto X1jeX; lJxV0: $where["\151\x64"] = array("\151\x6e", $sid); goto B2vJj; xzhyZ: if (!$sid) { goto ZK6Wb; } goto lJxV0; X1jeX: } public function getRewardList() { goto Pgr2L; ka5oi: if ($utoken) { goto wZRvF; } goto uzJ0x; x76oZ: $this->ajaxReturn($ajax); goto t4Nd1; AQd81: foreach ($data as $k => $v) { $data[$k]["\x61\x64\x64\164\151\155\x65"] = date("\x6d\x2d\144", $v["\x61\144\144\164\x69\x6d\x65"]); vCcqp: } goto vsoYU; DTNTo: $ajax["\x63\x6f\x64\145"] = 1; goto I8lSW; vsoYU: vfo6_: goto DTNTo; A0hmT: $data = $obj->alias("\162")->join($join)->where($map)->field($field)->page($p . "\54" . $pagesize)->select(); goto AQd81; dXfad: $ajax["\x63\x6f\x64\145"] = 2; goto x76oZ; ynT77: $join = "\x6c\145\146\x74\x20\152\x6f\x69\156\x20" . C("\x44\x42\137\120\122\105\106\x49\130") . "\x67\157\x6f\144\163\x20\141\163\40\147\40\157\156\x20\x67\x2e\151\x64\x20\75\40\x72\56\x67\157\x6f\144\163\x5f\151\144"; goto Qh85M; Qh85M: $map["\x75\164\x6f\x6b\145\156"] = $utoken; goto p8Eu5; BC4kn: $this->ajaxReturn($ajax); goto N2OaY; t4Nd1: wZRvF: goto ie1SB; p8Eu5: $map["\x72\x2e\x75\156\x69\141\143\x69\144"] = $this->uniacid; goto ssd1R; wENxh: $obj = M("\x72\145\167\141\x72\x64\x5f\x6c\x6f\147"); goto ynT77; ssd1R: $field = "\x72\x2e\146\162\x6f\x6d\x75\163\x65\x72\54\162\56\x61\x6d\157\165\156\164\x2c\147\x2e\x6c\157\147\x6f\x2c\147\56\156\141\x6d\x65\54\147\x2e\160\x72\x69\143\x65\x2c\162\56\x61\x64\144\x74\151\155\145"; goto A0hmT; ie1SB: $p = I("\157\146\x66\163\x65\x74", 1); goto cmWzh; Pgr2L: $utoken = I("\165\164\157\x6b\x65\156"); goto ka5oi; I8lSW: $ajax["\144\x61\x74\141"] = $data; goto BC4kn; uzJ0x: $ajax["\x69\x6e\x66\157"] = "\350\xaf\267\345\205\210\347\231\273\345\xbd\225"; goto dXfad; cmWzh: $pagesize = 10; goto wENxh; N2OaY: } public function getHb() { } public function rank() { goto ShlOh; ZXu57: po2o8: goto OsYL8; Qw16N: $xiaoquobj = M("\x78\151\x61\157\x71\x75"); goto ZT3Uo; nBabd: $userobj = M("\165\x73\145\x72"); goto Qw16N; ShlOh: $data = M("\162\x65\167\x61\162\144\154\x6f\147")->where(["\165\156\151\141\x63\x69\144" => $this->uniacid])->field("\x75\x69\x64\54\x53\x55\x4d\x28\x6d\x6f\156\145\x79\x29\40\x61\163\40\142\162\x6f\x6b\x65\162\141\147\x65")->group("\x75\x69\x64")->select(); goto YuEis; ZT3Uo: foreach ($data as $k => $v) { goto HbRN9; cb4F1: FRNxD: goto IUgw3; HbRN9: $data[$k]["\x6e\x69\143\153\156\141\155\x65"] = $userobj->where(["\x69\144" => $v["\x75\151\x64"]])->getField("\156\151\143\153\156\141\155\x65"); goto SG9YJ; SG9YJ: $data[$k]["\x6e\141\155\145"] = $xiaoquobj->where(["\165\151\x64" => $v["\165\151\144"], "\x75\156\151\x61\x63\x69\x64" => $this->uniacid])->getField("\x6e\141\155\145"); goto cb4F1; IUgw3: } goto ZXu57; e2Qz7: $data = array_splice($data, 0, 10); goto nBabd; YuEis: $data = list_arr($data, "\142\162\x6f\x6b\x65\x72\141\x67\145"); goto e2Qz7; K15ul: $this->ajaxReturn($ajax); goto iNTRl; KR7h9: $ajax["\x64\x61\x74\141"] = $data; goto K15ul; OsYL8: $ajax["\x63\157\x64\x65"] = 1; goto KR7h9; iNTRl: } public function submitOrder() { goto yuwbX; wJvVQ: $p = explode("\54", $param); goto siC9D; zNHrS: if ($p) { goto M1sB4; } goto BAoK1; yuwbX: $param = I("\x70\157\x73\x74\56\x67\x69\144"); goto wJvVQ; JD8D5: $this->ajaxReturn($ajax); goto A0b3m; iYPg3: $ajax["\144\x61\x74\x61"]["\x67\x6f\157\x64\163"] = $goodsarr; goto CAHZc; CAHZc: $ajax["\144\x61\164\141"]["\161\165\x61\x6e"] = $this->getAvaibleQuan($address["\151\144"], $total_jiner); goto QioXa; ipd5J: $this->ajaxReturn($ajax); goto OPqVh; QioXa: $ajax["\144\x61\x74\141"]["\150\x62"] = $this->getAvaibleHb($address["\151\x64"], $total_jiner); goto wFp1p; wfwsU: $tuan = $this->getXiaoqu(); goto ITes5; BAoK1: $ajax["\x63\157\x64\x65"] = 0; goto Rgz22; siC9D: $goodsarr = []; goto KbG8I; qd4mw: $ajax["\144\141\164\141"]["\164\165\x61\x6e"] = $tuan; goto ipd5J; n7ENy: $ajax["\144\x61\164\141"]["\164\x6f\164\x61\154\137\156\x75\155"] = $total_num; goto iYPg3; A0b3m: goto S9HXn; goto A6Gqr; wFp1p: $ajax["\x64\x61\164\x61"]["\141\x64\144\162\145\x73\x73\x69\156\x66\157"] = json_decode($address["\141\144\x64\162\145\x73\x73\151\x6e\x66\x6f"], true); goto wfwsU; JaKtr: foreach ($p as $k => $v) { goto kJoSt; zApps: $ajax["\x63\x6f\x64\x65"] = 0; goto I3GXU; QEFDa: o7ML9: goto zCe93; bZnsf: GzwHw: goto dnnbq; RTmJJ: $ajax["\x69\x6e\146\157"] = "\346\225\xb0\xe6\x8d\xae\345\xbc\202\345\270\270"; goto zApps; tJh8l: if (!$goods) { goto GzwHw; } goto UUWjn; dnnbq: $total_num += $g[1]; goto fTArK; Fvsy_: if ($g[0] && $g[1]) { goto o7ML9; } goto RTmJJ; I3GXU: $this->ajaxReturn($ajax); goto oqlQe; oqlQe: goto KRLpb; goto QEFDa; fTArK: KRLpb: goto NbGvC; J70rB: $goodsarr[] = $goods; goto h9C0d; UUWjn: $goods["\x6e\165\x6d"] = $g[1]; goto J70rB; NbGvC: O5YKY: goto nBfdI; zCe93: $goods = M("\147\x6f\x6f\x64\163")->where(["\151\144" => $g[0]])->field("\x69\x64\x2c\154\151\155\151\164\x5f\x6e\x75\x6d\54\x6d\141\x72\x6b\x65\x74\x5f\160\x72\151\x63\x65\x2c\x74\165\x61\156\x5f\160\x72\x69\x63\x65\54\x74\150\x75\x6d\142\x2c\x6e\141\x6d\145")->find(); goto tJh8l; kJoSt: $g = explode("\137", $v); goto Fvsy_; h9C0d: $total_jiner += $goods["\164\x75\x61\156\137\160\x72\x69\x63\145"] * $g[1]; goto bZnsf; nBfdI: } goto kDwG8; INLLV: $ajax["\x64\141\x74\141"]["\x74\x6f\164\x61\154\137\152\x69\x6e\x65\162"] = $total_jiner; goto n7ENy; Rgz22: $ajax["\151\156\x66\157"] = "\345\x8f\202\346\x95\xb0\xe9\x94\x99\xe8\xaf\257"; goto JD8D5; A6Gqr: M1sB4: goto JaKtr; KbG8I: $total_jiner = 0; goto Lczkj; OPqVh: S9HXn: goto kQLRI; seu8W: $address = M("\165\163\145\162")->where(["\x75\164\x6f\153\x65\156" => $this->utoken, "\165\x6e\x69\141\x63\151\144" => $this->uniacid])->field("\x69\x64\54\x61\x64\144\x72\145\163\163\151\x6e\146\157")->find(); goto Kfung; Lczkj: $total_num = 0; goto zNHrS; ITes5: $tuan["\160\145\x69\163\157\x6e\147\x5f\146\145\145"] = $tuan["\160\145\151\x73\x6f\156\x67\137\152\151\156\x65\162"] > 0 ? floatval($tuan["\x70\x65\151\x73\157\x6e\x67\x5f\x6a\x69\156\145\162"]) : floatval(C("\x70\x65\151\163\x6f\x6e\147\x5f\146\x65\145")); goto qd4mw; Kfung: $ajax["\x63\157\144\x65"] = 1; goto INLLV; kDwG8: EN0h2: goto seu8W; kQLRI: } private function getAvaibleHb($uid, $money) { goto sqZ7Q; WzDVi: if (!$data) { goto jP5uB; } goto XouTN; fxchA: $map["\x75\151\x64"] = $uid; goto wGyAu; siDjM: jP5uB: goto XRXfL; o3g3g: $map["\x75\x6e\151\141\143\x69\144"] = $this->uniacid; goto HwYC7; o3uaK: if (!$uid) { goto vYM1R; } goto ckN4j; sqZ7Q: $data = []; goto o3uaK; HziIF: $map["\x73\x74\141\164\x75\163"] = 1; goto o3g3g; HwYC7: $map["\154\151\155\151\164\x5f\x6a\151\156\x65\x72"] = array("\x6c\164", $money); goto b5kFh; XRXfL: vYM1R: goto Uo3I3; XouTN: foreach ($data as $k => $v) { goto oTVbx; oTVbx: $data[$k]["\145\x6e\x64\164\151\x6d\145"] = date("\131\x2d\155\55\144", $v["\145\x6e\144\x74\x69\155\145"]); goto hTNfX; hTNfX: $data[$k]["\143\150\145\x63\x6b\x65\144"] = false; goto FtU0w; FtU0w: zXKE5: goto hYj0j; hYj0j: } goto JAHvF; b5kFh: $data = $obj->where($map)->field($field)->order("\145\x6e\x64\x74\151\x6d\x65\x20\x61\x73\143")->select(); goto WzDVi; JAHvF: hMGRI: goto siDjM; PO1Jj: $field = "\151\x64\54\152\151\x6e\x65\162\54\x65\156\x64\164\151\x6d\145\54\154\x69\155\x69\164\137\152\x69\x6e\x65\162\x2c\165\x69\144"; goto fxchA; wGyAu: $map["\x65\x6e\144\x74\x69\x6d\x65"] = array("\147\164", time()); goto HziIF; ckN4j: $obj = M("\150\142\154\151\156\147\x71\165"); goto PO1Jj; Uo3I3: return $data; goto rOglc; rOglc: } private function getAvaibleQuan($uid, $money) { goto LOgnq; W0o5N: $map["\x73\164\x61\164\165\163"] = 1; goto cQiQu; zfCbK: $data = array_merge($arr, $arr2); goto rFtAF; yd3eH: $map2["\x71\x75\x61\156\x5f\164\171\160\x65"] = 2; goto Sq2er; kJME0: $map["\161\x75\x61\156\x5f\164\171\160\145"] = 1; goto A1yBF; A1yBF: $map["\145\156\144\137\x74\x69\x6d\145"] = array("\147\164", time()); goto Pkt4l; v9C5e: JChwz: goto IeGV4; HWhZp: $arr2 = $obj->where($map2)->field($field)->select(); goto CcGkK; CcGkK: ZPSMy: goto zfCbK; rFtAF: foreach ($data as $k => $v) { goto vu0Vv; Hn0iq: ZSyOx: goto BCUqX; tQ2qx: $data[$k]["\x63\150\145\143\x6b\x65\144"] = false; goto Rg2Gb; vu0Vv: if (!$v["\x65\156\x64\x5f\x74\x69\155\145"]) { goto M4feE; } goto ZyIlv; ZyIlv: $data[$k]["\x65\156\x64\x5f\164\x69\155\x65"] = date("\131\x2d\155\55\144", $v["\145\x6e\144\x5f\x74\151\155\145"]); goto tQ2qx; Rg2Gb: M4feE: goto Hn0iq; BCUqX: } goto v9C5e; VpTpL: $map2["\163\x74\x61\164\165\x73"] = 1; goto GZkCI; YKGik: $map2["\165\151\144"] = $uid; goto yd3eH; Sq2er: $map2["\x65\x6e\144\x5f\164\x69\155\x65"] = array("\147\x74", time()); goto j641O; MHTx2: $map["\x75\151\x64"] = $uid; goto kJME0; GZkCI: $map2["\x6d\x6f\156\x65\171"] = array("\145\x6c\x74", $money); goto HWhZp; iVLf5: $obj = M("\x6d\x65\155\142\145\x72\x5f\161\x75\x61\156"); goto n9raf; Pkt4l: $map["\165\x6e\x69\x61\143\x69\x64"] = $this->uniacid; goto W0o5N; LOgnq: $data = []; goto kr9P6; j641O: $map2["\x75\156\x69\141\x63\151\144"] = $this->uniacid; goto VpTpL; cQiQu: $arr = $obj->where($map)->field($field)->order("\145\156\x64\137\x74\x69\x6d\145\x20\x61\x73\x63")->select(); goto YKGik; n9raf: $field = "\x69\144\54\x6a\151\156\145\162\54\145\156\x64\x5f\x74\x69\x6d\x65\x2c\x6d\x6f\156\145\171\x2c\x71\x75\141\x6e\137\x74\171\160\145\54\x75\x69\x64"; goto MHTx2; kr9P6: if (!$uid) { goto ZPSMy; } goto iVLf5; IeGV4: return $data; goto HIsSc; HIsSc: } public function gettuaninfo() { goto kJND1; kJND1: $data = $this->getXiaoqu(I("\164\x69\144")); goto TL0KK; Dhs1Y: $ajax["\144\x61\164\141"] = $data; goto CK0pD; CK0pD: $this->ajaxReturn($ajax); goto kjfTS; TL0KK: $ajax["\x63\157\144\145"] = 1; goto Dhs1Y; kjfTS: } public function getOrderTime() { goto m9iuD; n6QIl: $ajax["\144\141\x74\141"] = $day; goto DhZx4; m9iuD: $uid = M("\x75\163\x65\162")->where(["\165\x74\x6f\153\145\x6e" => $this->utoken])->getField("\x69\144"); goto MTySH; ENQYn: $this->ajaxReturn($ajax); goto vxXpg; LANDX: $map["\164\165\141\x6e\137\165\x69\144"] = $uid; goto vR_do; qnuuW: $map["\x75\156\x69\141\143\151\144"] = $this->uniacid; goto YiU2j; YiU2j: $day = M("\x6f\162\x64\x65\162")->where($map)->field("\x64\x61\x79\x2c\143\x6f\165\156\x74\50\151\144\x29\40\x61\163\x20\143\157\165\x6e\x74")->group("\x64\x61\171")->select(); goto n6QIl; MTySH: $activity_id = I("\141\x69\144"); goto t8Cpx; DhZx4: $ajax["\143\157\x64\x65"] = 1; goto ENQYn; vR_do: $map["\151\163\x5f\163\145\x6e\x64"] = 1; goto J6JCE; J6JCE: $map["\x69\163\137\x70\141\x79"] = 2; goto qnuuW; t8Cpx: $map["\141\143\164\151\166\x69\x74\x79\137\x69\x64"] = $activity_id; goto LANDX; vxXpg: } public function sendQuhuos() { goto lSWxd; afRV4: $count = count($data); goto KjuDS; PYFG3: $access_token = getAccessToken(C("\x61\160\x70\151\x64"), C("\141\160\x70\153\x65\171")); goto QoSQe; fD1rK: $this->ajaxReturn($ajax); goto xTe9_; noRvq: LftZR: goto FtOkR; QNVJV: $ajax["\143\157\144\x65"] = 1; goto gP5Q2; FqhNt: $map["\151\163\x5f\163\145\156\x64"] = 1; goto YwJyT; FtOkR: $fail = 0; goto PYFG3; bF67u: AJji6: goto QNVJV; YwJyT: $map["\151\163\x5f\x70\141\171"] = 2; goto HDHFA; cpl98: $map["\144\141\x79"] = $day; goto YmEJv; bqJKf: $ajax["\151\x6e\146\157"] = "\xe5\267\xb2\345\x85\xa8\351\x83\xa8\351\x80\232\347\x9f\245\345\xae\x8c\xe6\257\225"; goto h7MDd; lnMKG: if (!($day = I("\144\x61\171"))) { goto J92Wt; } goto cpl98; VVOnz: $activity_id = I("\x61\151\x64"); goto YwzRg; gP5Q2: $ajax["\x69\x6e\146\157"] = "\xe5\x85\261\xe5\x8f\x91\xe9\x80\x81" . $count . "\346\235\xa1\x2c\346\210\220\xe5\212\237" . ($count - $fail) . "\xe6\235\xa1\54\345\244\xb1\350\xb4\245" . $fail . "\xe6\235\xa1"; goto fD1rK; qhNaX: $ajax["\x63\x6f\x64\x65"] = 1; goto bqJKf; KjuDS: if ($count) { goto LftZR; } goto qhNaX; AL7bi: $data = M("\x6f\162\x64\x65\x72")->where($map)->field("\151\x64\54\157\165\164\137\x74\x72\141\x64\x65\x5f\156\x6f\54\165\164\x6f\x6b\x65\156\x2c\x69\163\137\163\145\x6e\x64\54\x70\162\x65\160\141\x72\x65\137\x69\x64\x2c\x67\x6f\157\144\163\x69\x6e\146\157\x2c\170\x69\x61\157\x71\x75\x5f\x69\144\x2c\x74\x6f\164\141\x6c\137\156\x75\155\x2c\x69\x73\x5f\164\x75\x69\x2c\164\165\x69\x5f\163\164\x61\x74\x75\x73")->select(); goto afRV4; lSWxd: $uid = M("\165\163\145\162")->where(["\x75\164\x6f\x6b\x65\x6e" => $this->utoken])->getField("\x69\x64"); goto lnMKG; h7MDd: $this->ajaxReturn($ajax); goto noRvq; HDHFA: $map["\165\156\151\x61\x63\x69\144"] = $this->uniacid; goto AL7bi; QoSQe: foreach ($data as $k => $v) { goto YjyJ2; JwnO_: $arr1["\153\x65\171\x77\x6f\x72\144\62"]["\143\x6f\154\x6f\162"] = "\43\71\x62\x39\x62\71\142"; goto JJl0m; SWkJx: tijFr: goto upUV7; XElxN: $arr1["\x6b\x65\171\x77\157\162\x64\62"]["\x76\x61\154\x75\145"] = $goods[0]["\x6e\x61\x6d\145"] . "\347\255\x89" . $v["\164\157\164\x61\x6c\x5f\x6e\165\x6d"] . "\xe4\273\266\345\x95\206\345\x93\x81"; goto JwnO_; Kj4AI: $arr1["\153\145\171\167\x6f\x72\x64\61"]["\x63\x6f\x6c\x6f\162"] = "\43\x39\142\x39\142\x39\142"; goto XElxN; JJl0m: $arr1["\x6b\x65\x79\x77\157\162\144\63"]["\x76\x61\x6c\x75\x65"] = $xiaoqu["\164\165\x61\156\x5f\x6e\x61\155\145"]; goto z9YSz; a9xzu: PWq3g: goto O2Pua; rjZLq: goto HmqE8; goto UGbNJ; Kf7CJ: $res = send_msg($access_token, $v["\x70\x72\145\x70\141\162\x65\x5f\151\144"], $v["\165\164\x6f\153\145\x6e"], C("\x63\x6f\x64\145\62"), '', $arr1); goto NkZFD; z9YSz: $arr1["\153\145\x79\x77\x6f\162\x64\x33"]["\143\x6f\x6c\x6f\162"] = "\43\x39\142\71\x62\71\x62"; goto ARs8k; UGbNJ: shjBX: goto cCOQs; NXT0H: goto rlv4L; goto SWkJx; liBy4: $arr1["\153\x65\x79\x77\157\x72\144\x35"]["\143\157\x6c\157\x72"] = "\43\71\142\71\142\71\142"; goto Kf7CJ; YjyJ2: if ($v["\151\x73\x5f\164\x75\x69"] == 2 && ($v["\164\x75\x69\137\163\164\141\x74\165\163"] == 1 || $v["\164\165\x69\x5f\163\164\x61\x74\165\x73"] == 2)) { goto tijFr; } goto J0gHf; J0gHf: M("\x6f\162\144\x65\162")->where(["\151\x64" => $v["\x69\x64"]])->save(["\151\163\137\x73\x65\156\x64" => 2, "\163\145\156\x64\x74\151\155\x65" => time()]); goto XH22p; XH22p: if (!C("\143\157\x64\x65\x32")) { goto KWz6x; } goto n5jfH; eD_hR: KWz6x: goto NXT0H; n5jfH: $goods = json_decode($v["\147\x6f\157\144\163\151\156\x66\x6f"], true); goto Ciigg; oxB9I: rlv4L: goto a9xzu; Ciigg: $xiaoqu = $this->getXiaoqu($v["\170\x69\141\157\x71\165\137\151\144"]); goto uHQp6; Tl2Ox: HmqE8: goto eD_hR; JbXeQ: $arr1["\x6b\145\x79\167\x6f\162\x64\x34"]["\x63\x6f\154\157\x72"] = "\43\x39\142\71\x62\x39\x62"; goto Zj3Bh; YmYN5: if ($Msg["\x65\162\x72\x63\x6f\144\145"]) { goto shjBX; } goto rjZLq; Zj3Bh: $arr1["\153\x65\171\167\x6f\162\x64\x35"]["\166\x61\154\x75\x65"] = $xiaoqu["\141\x64\x64\162\x65\x73\163"]; goto liBy4; uHQp6: $arr1["\x6b\145\171\x77\x6f\x72\x64\61"]["\x76\141\x6c\x75\x65"] = $v["\157\165\164\x5f\164\162\141\144\145\137\x6e\157"]; goto Kj4AI; upUV7: goto PWq3g; goto oxB9I; NkZFD: $Msg = json_decode($res, true); goto tIPqL; ARs8k: $arr1["\x6b\145\x79\x77\x6f\162\x64\x34"]["\166\141\154\165\145"] = $xiaoqu["\155\x6f\x62\151\154\145"]; goto JbXeQ; cCOQs: $fail++; goto Tl2Ox; tIPqL: file_put_contents("\x67\x67\x2e\164\170\164", $Msg["\145\162\162\143\x6f\x64\145"] . "\134\156", FILE_APPEND); goto YmYN5; O2Pua: } goto bF67u; YmEJv: J92Wt: goto VVOnz; YwzRg: $map["\x61\x63\x74\x69\166\151\164\171\137\151\x64"] = $activity_id; goto cGAMy; cGAMy: $map["\x74\x75\x61\x6e\137\165\x69\x64"] = $uid; goto FqhNt; xTe9_: } public function sendQuhuo() { goto DOC7q; UmIA2: $xiaoqu = $this->getXiaoqu($order["\170\151\141\x6f\161\165\137\151\144"]); goto iU_Yr; imLU3: rMabJ: goto NzaDt; KxFBX: XprLt: goto LM5Dw; GC23o: $arr1["\153\145\x79\167\157\x72\x64\64"]["\x63\157\x6c\x6f\162"] = "\x23\71\142\x39\x62\x39\142"; goto gqXo6; NH2A_: $access_token = getAccessToken(C("\141\x70\160\x69\x64"), C("\141\x70\160\153\145\x79")); goto zNm4o; x6QxI: if ($id) { goto MlaQs; } goto pdJ7L; uXX6c: $order = M("\157\162\144\x65\x72")->where(["\x69\x64" => $id])->field("\x6f\x75\164\x5f\x74\x72\141\144\145\x5f\x6e\x6f\54\151\163\x5f\x74\x75\x69\54\x74\x75\151\137\x73\x74\x61\x74\x75\x73\x2c\165\164\x6f\x6b\x65\x6e\x2c\151\x73\137\160\141\x79\x2c\x69\x73\137\163\145\156\144\x2c\x70\x72\x65\160\141\162\x65\137\151\144\x2c\x67\x6f\157\144\x73\x69\x6e\146\157\x2c\x74\157\164\141\154\x5f\156\165\155\54\x78\151\x61\x6f\161\165\x5f\151\x64")->find(); goto wIEL9; SWnHa: send_msg($access_token, $order["\x70\162\x65\x70\141\162\145\137\151\144"], $order["\165\164\157\153\145\156"], C("\143\x6f\x64\x65\62"), '', $arr1); goto sfjs1; kVR03: $arr1["\153\145\x79\167\157\x72\x64\x33"]["\166\x61\154\165\x65"] = $xiaoqu["\164\x75\141\x6e\x5f\x6e\x61\155\145"]; goto TInkh; DOC7q: $id = I("\157\x69\x64"); goto x6QxI; LM5Dw: if (!($order["\x69\x73\x5f\x74\x75\x69"] == 2 && ($order["\164\x75\151\137\163\x74\x61\164\165\163"] == 1 || $order["\x74\x75\x69\x5f\163\x74\141\x74\165\163"] == 2))) { goto q6sjd; } goto orfmI; eZuFC: $goods = json_decode($order["\147\x6f\x6f\144\x73\x69\x6e\146\157"], true); goto UmIA2; Xrwai: $ajax["\x69\x6e\x66\x6f"] = "\346\xad\xa4\xe8\xae\xa2\345\x8d\x95\xe6\xad\xa3\345\x9c\250\xe9\x80\200\xe6\xac\xbe\xe4\270\xad\346\x88\x96\345\267\262\xe9\200\200\346\254\xbe"; goto r6D_e; upzLM: q6sjd: goto jruNH; E8eJ2: $ajax["\x63\157\x64\x65"] = 0; goto T0ADP; Pwsgs: $ajax["\x63\157\x64\x65"] = 1; goto jgRpo; ikN0T: $ajax["\151\x6e\146\157"] = "\xe6\255\244\xe8\256\xa2\xe5\215\225\346\x9c\xaa\346\224\xaf\xe4\xbb\230"; goto vKq9I; a8Lm_: $arr1["\x6b\x65\171\x77\157\162\144\62"]["\143\157\154\157\x72"] = "\43\71\x62\71\x62\x39\142"; goto kVR03; jgRpo: $ajax["\151\x6e\x66\x6f"] = "\345\x8f\x91\xe9\x80\201\346\210\220\345\x8a\237"; goto TRGQE; gqXo6: $arr1["\153\x65\171\x77\x6f\162\x64\x35"]["\x76\141\154\x75\145"] = $xiaoqu["\141\144\144\x72\145\163\x73"]; goto viUeE; viUeE: $arr1["\x6b\145\x79\x77\157\x72\144\65"]["\143\157\154\x6f\162"] = "\x23\71\142\x39\142\71\142"; goto SWnHa; TInkh: $arr1["\x6b\145\171\x77\x6f\162\144\x33"]["\143\157\x6c\x6f\162"] = "\43\71\142\71\142\71\142"; goto VnZyd; NzaDt: if (!($order["\151\163\x5f\x70\x61\x79"] != 2)) { goto XprLt; } goto BbBff; lVVAb: $ajax["\151\156\x66\x6f"] = "\xe5\217\x82\xe6\x95\260\351\224\x99\xe8\257\xaf"; goto IjXn0; BbBff: $ajax["\143\x6f\144\145"] = 0; goto ikN0T; MeATH: $arr1["\153\145\x79\x77\157\162\x64\x31"]["\x63\157\x6c\x6f\162"] = "\x23\71\x62\x39\x62\71\142"; goto KrBIW; IjXn0: $this->ajaxReturn($ajax); goto I4Q8q; sfjs1: GuYdP: goto Pwsgs; r6D_e: $this->ajaxReturn($ajax); goto upzLM; KrBIW: $arr1["\153\145\x79\x77\157\x72\144\62"]["\166\x61\154\x75\x65"] = $goods[0]["\156\x61\155\x65"] . "\xe7\255\211" . $order["\164\157\x74\141\154\137\156\x75\x6d"] . "\344\xbb\xb6\xe5\225\206\345\223\201"; goto a8Lm_; wIEL9: if (!($order["\151\163\137\163\145\x6e\x64"] == 2)) { goto rMabJ; } goto E8eJ2; VnZyd: $arr1["\153\x65\x79\167\157\162\x64\64"]["\x76\141\154\x75\145"] = $xiaoqu["\x6d\x6f\142\151\154\x65"]; goto GC23o; T0ADP: $ajax["\x69\156\x66\x6f"] = "\346\xad\xa4\350\256\242\345\215\225\345\xb7\262\345\x8f\x91\351\200\201\xe5\x8f\x96\xe8\xb4\247\351\x80\232\xe7\237\245"; goto VNCHh; vKq9I: $this->ajaxReturn($ajax); goto KxFBX; orfmI: $ajax["\143\157\144\145"] = 0; goto Xrwai; zNm4o: if (!C("\143\x6f\144\145\x32")) { goto GuYdP; } goto eZuFC; iU_Yr: $arr1["\x6b\145\171\x77\x6f\162\x64\61"]["\166\x61\x6c\x75\145"] = $order["\x6f\165\164\137\x74\162\x61\x64\145\x5f\156\157"]; goto MeATH; jruNH: M("\x6f\162\144\x65\162")->where(["\151\x64" => $id])->save(["\x69\x73\x5f\x73\x65\x6e\x64" => 2, "\163\145\x6e\144\164\151\155\x65" => time()]); goto NH2A_; TRGQE: $this->ajaxReturn($ajax); goto mZru6; VNCHh: $this->ajaxReturn($ajax); goto imLU3; pdJ7L: $ajax["\143\x6f\144\x65"] = 0; goto lVVAb; I4Q8q: MlaQs: goto uXX6c; mZru6: } public function getHbRecord() { goto PRY1B; BZMtF: $this->ajaxReturn($ajax); goto jOUoC; cXw4D: $res["\x6c\x69\x6e\147\161\x75"] = $this->getHbLingqu($res["\x70\x69\x64"]); goto hKm2e; n3TmO: $hbreord = M("\x68\x6f\156\x67\142\141\157"); goto kDIwN; cwkCs: foreach ($ress as $k => $v) { goto qE6Gr; tN6kw: $ppid = $v["\160\x69\144"]; goto r3K5f; PAZXY: rgtt5: goto ItJll; qE6Gr: $p = $hbreord->where(["\151\144" => $v["\160\x69\144"]])->find(); goto WhD6P; JMPp6: $flag = 1; goto tN6kw; r3K5f: goto s3DVS; goto fb8X3; fb8X3: iRuEl: goto PAZXY; WhD6P: if (!($p["\145\x6e\144\137\164\151\155\x65"] > time() || $p["\145\156\144\x5f\x74\x69\x6d\x65"] <= time() && $p["\x6e\x65\x65\x64\x5f\x6e\165\x6d"] <= $p["\150\141\x76\x65\x5f\156\x75\x6d"])) { goto iRuEl; } goto JMPp6; ItJll: } goto Elmig; Sp55H: $tuan_status = $res["\145\x6e\144\137\164\x69\155\x65"] < time() ? 2 : 1; goto GNVEW; Y0RRx: $i++; goto TEC3H; ckljH: $ajax["\x64\x61\164\x61"]["\x6e\x75\x6d"] = C("\x68\x62\x5f\156\x75\x6d"); goto BZMtF; VxxBf: $res["\x74\x75\141\x6e\137\163\x74\x61\x74\165\x73"] = $tuan_status; goto MBFAx; p1RkO: $detail = $hbreord->alias("\x68")->join($join)->where(["\160\x69\144" => $pid])->field("\150\56\151\x64\54\160\151\x64\x2c\150\x65\141\x64\x2c\x6a\151\x6e\x65\x72\x2c\156\151\x63\153\156\x61\x6d\145")->select(); goto wrO_E; v3FIC: if ($flag) { goto XwLPn; } goto DHY3Y; HSA7S: $ajax["\x64\141\164\141"]["\163\x74\x61\164\x75\x73"] = 2; goto oP3Ey; FrIoR: $map["\x75\x69\x64"] = $uid; goto g_Txa; DHY3Y: if ($pid) { goto ylD4u; } goto HSA7S; SCejm: cLbz8: goto XqVIm; OV8vQ: $res = $hbreord->where(["\x69\x64" => $pid])->find(); goto Uxg8I; theJc: $arr = []; goto sFMNd; MuhPK: $ajax["\x64\x61\164\x61"]["\x6a\x69\x6e\x65\x72"] = C("\150\142\x5f\x6a\x69\156\145\x72"); goto ckljH; Elmig: s3DVS: goto JEKy8; B3gCo: v5H4M: goto xqW5b; hKm2e: OIwaU: goto VxxBf; jampT: $ajax["\x64\x61\164\141"]["\x64\141\x74\x61"] = $res; goto hR4BO; Uxg8I: $tuan_status = $res["\145\156\144\137\x74\151\155\145"] < time() ? 2 : 1; goto qQt8x; wrO_E: $arr = []; goto guCGY; TEC3H: goto PRd29; goto B3gCo; JQFDa: $res["\151\x73\x5f\x73\x65\x6c\x66"] = 1; goto hvmOP; msacG: dBpW0: goto ImFiG; StSFq: if (!($res["\x74\171\x70\145"] == 1 && $res["\165\x69\144"] == $uid)) { goto BMOBE; } goto k7j5E; CLUTP: $tuan_status = 3; goto cXw4D; HYsqg: $res = $hbreord->where(["\x69\x64" => $ppid])->find(); goto P9DKJ; hvmOP: StVSI: goto FyeYn; BcGGw: $tuan_status = 3; goto F1Dke; xD1Vo: $res["\144\145\164\141\x69\x6c"] = $arr; goto jampT; guCGY: $i = 0; goto Rp1DC; BoRMt: ssAF9: goto MuhPK; g_Txa: $map["\x75\x6e\151\x61\143\x69\144"] = $this->uniacid; goto n3TmO; e0_kR: $hblingqu = M("\x68\142\x6c\151\x6e\147\161\x75"); goto AMndP; g7y8f: uau81: goto Y0RRx; P9DKJ: $ajax["\143\x6f\x64\x65"] = 1; goto Sp55H; XIQQb: $join = "\x6c\145\x66\x74\x20\x6a\157\x69\156\x20" . C("\104\x42\137\x50\x52\x45\x46\111\130") . "\165\x73\x65\x72\x20\141\163\40\x75\40\157\x6e\40\x75\56\151\144\x20\x3d\x20\x68\56\x75\151\144"; goto dLh9v; Epe1v: $res["\145\x6e\144\137\164\151\155\145"] = date("\x59\x2f\155\57\x64\40\110\x3a\x69\x3a\163", $res["\x65\x6e\x64\x5f\164\151\155\145"]); goto StSFq; JEKy8: goto wzorc; goto SCejm; kDIwN: $ress = $hbreord->where($map)->select(); goto lDu4M; BpAeL: if (!($res["\x74\171\x70\x65"] == 1 && $res["\165\x69\144"] == $uid)) { goto StVSI; } goto JQFDa; EYGA2: ylD4u: goto OV8vQ; PRY1B: $uid = M("\x75\x73\145\162")->where(["\165\x74\157\x6b\145\156" => $this->utoken, "\x75\156\151\141\143\151\144" => $this->uniacid])->getField("\x69\144"); goto b7Cc9; MBFAx: $res["\x65\x6e\x64\x5f\x74\151\155\145"] = date("\131\x2f\x6d\57\x64\x20\x48\72\151\x3a\163", $res["\x65\156\144\x5f\164\151\155\x65"]); goto BpAeL; dLh9v: $detail = $hbreord->alias("\150")->join($join)->where(["\160\151\144" => $res["\x70\151\x64"]])->field("\150\56\151\144\x2c\x68\x65\x61\x64\x2c\x6a\151\156\x65\x72\54\x6e\151\143\153\156\141\x6d\145")->select(); goto theJc; k7j5E: $res["\151\x73\x5f\x73\145\154\146"] = 1; goto v9C4d; egFFr: $ajax["\143\157\144\145"] = 1; goto cYzHQ; otWei: if (!($i < $res["\156\x65\145\144\x5f\156\165\x6d"])) { goto nhOiJ; } goto c6Lls; UfTbw: uuadp: goto ORtZy; AMndP: $join = "\154\145\x66\x74\x20\x6a\x6f\x69\x6e\40" . C("\104\102\x5f\120\122\105\x46\111\130") . "\x75\x73\145\x72\x20\141\x73\x20\165\x20\x6f\156\x20\x75\x2e\x69\x64\x20\75\x20\x68\x2e\x75\151\x64"; goto p1RkO; c6Lls: array_push($arr, $detail[$i] ? $detail[$i] : []); goto msacG; GNVEW: if (!($res["\150\x61\166\145\137\x6e\x75\155"] >= $res["\x6e\145\145\x64\137\156\165\x6d"])) { goto OIwaU; } goto CLUTP; ORtZy: $res["\164\165\141\x6e\x5f\163\x74\x61\164\165\163"] = $tuan_status; goto Epe1v; v2x0Z: if (!($i < $res["\x6e\145\145\144\x5f\x6e\165\x6d"])) { goto v5H4M; } goto qfnJy; qQt8x: if (!($res["\x68\141\x76\x65\137\156\x75\155"] >= $res["\156\x65\145\144\x5f\156\x75\155"])) { goto uuadp; } goto BcGGw; PbLi5: kji5t: goto egFFr; M1dl0: $ajax["\x64\141\164\141"]["\x64\141\164\141"] = $res; goto PbLi5; qfnJy: array_push($arr, $detail[$i] ? $detail[$i] : []); goto g7y8f; ImFiG: $i++; goto xHkLL; oP3Ey: goto kji5t; goto EYGA2; v9C4d: BMOBE: goto e0_kR; Tjb3L: iioPs: goto otWei; F1Dke: $res["\154\x69\x6e\x67\161\x75"] = $this->getHbLingqu($pid); goto UfTbw; W7yh6: if (!$ress) { goto cLbz8; } goto cwkCs; xHkLL: goto iioPs; goto PeSJr; b7Cc9: $pid = I("\x70\x69\x64"); goto FrIoR; umaxQ: XwLPn: goto HYsqg; bfTav: wzorc: goto v3FIC; xqW5b: $res["\144\145\164\x61\151\x6c"] = $arr; goto M1dl0; PeSJr: nhOiJ: goto xD1Vo; XqVIm: $flag = 0; goto bfTav; FyeYn: $hblingqu = M("\x68\142\154\x69\x6e\x67\161\x75"); goto XIQQb; lDu4M: $flag = 0; goto W7yh6; hR4BO: $ajax["\x64\141\164\141"]["\x73\164\x61\x74\x75\x73"] = 1; goto BoRMt; sFMNd: $i = 0; goto Tjb3L; Rp1DC: PRd29: goto v2x0Z; cYzHQ: goto ssAF9; goto umaxQ; jOUoC: } public function isHb() { goto qAKfp; M4phf: CYuUy: goto WC0g8; ZBjzZ: $this->ajaxReturn($ajax); goto GHrhi; qAKfp: $data = 0; goto OLFIW; LwVMT: $hbreord = M("\x68\157\x6e\147\142\141\157"); goto h5fpe; WC0g8: $ajax["\144\141\164\x61"] = $data; goto j0YB6; OLFIW: if (!(C("\x68\x62\x5f\x73\x74\141\164\165\x73") == 2)) { goto CYuUy; } goto rtsMq; y5U2P: QYBZa: goto M4phf; rtsMq: $data = 1; goto LwVMT; WEhv8: $map["\165\151\x64"] = $uid; goto AQavg; h5fpe: $uid = M("\165\x73\145\x72")->where(["\x75\164\x6f\153\x65\156" => $this->utoken, "\165\156\151\141\143\x69\x64" => $this->uniacid])->getField("\x69\x64"); goto WEhv8; AQavg: $res = $hbreord->where($map)->select(); goto LsEgd; LsEgd: foreach ($res as $k => $v) { goto l8CvX; l8CvX: $p = $hbreord->where(["\151\144" => $v["\160\x69\144"]])->find(); goto OV3eq; PedoS: $data = 0; goto oEBjT; OV3eq: if (!($p["\145\x6e\x64\x5f\x74\x69\155\145"] > time() || $p["\145\x6e\x64\x5f\164\x69\155\145"] <= time() && $p["\x6e\145\145\144\137\x6e\165\x6d"] <= $p["\150\141\x76\x65\137\x6e\165\155"])) { goto twkPS; } goto PedoS; oEBjT: goto QYBZa; goto dbSLj; dbSLj: twkPS: goto RAw_q; RAw_q: fVsXk: goto isXHi; isXHi: } goto y5U2P; j0YB6: $ajax["\x63\157\x64\145"] = 1; goto ZBjzZ; GHrhi: } private function getHbLingqu($pid) { $join = "\154\145\x66\x74\40\x6a\157\x69\156\x20" . C("\104\x42\x5f\120\122\105\106\111\130") . "\x75\163\145\x72\x20\x61\x73\40\x75\x20\x6f\x6e\x20\x75\x2e\x69\x64\x20\x3d\x20\150\56\165\x69\144"; return M("\x68\x62\154\x69\156\x67\x71\x75")->alias("\150")->join($join)->where(["\146\151\x64" => $pid, "\150\56\x75\156\x69\141\143\151\144" => $this->uniacid])->order("\x6a\151\156\145\162\40\144\145\163\x63")->field("\150\56\x69\144\x2c\146\x69\144\x2c\x68\145\141\x64\x2c\x6a\x69\x6e\145\x72\54\156\151\143\x6b\x6e\141\x6d\145")->select(); } public function hbLingqu() { goto gLShE; widnd: $add["\x65\156\x64\137\x74\151\x6d\x65"] = $add["\x61\144\x64\164\151\x6d\145"] + 3600 * C("\x68\142\x5f\x65\156\144\137\x74\151\x6d\x65"); goto xblGD; Ys62B: $safe_total = ($total - ($num - $i) * $min) / ($num - $i); goto EX0Yh; e23nz: $add["\x61\x64\144\164\151\x6d\x65"] = time(); goto vAGEm; VK8Cj: $tt = []; goto Gd50D; mB8RH: if (!$pid) { goto MtijF; } goto D9C93; Lf8IE: $ajax["\x63\x6f\x64\145"] = 0; goto a6iXn; R3YYU: if (!($h["\x68\141\x76\145\x5f\x6e\x75\155"] + 1 == $h["\156\145\145\144\137\156\165\155"])) { goto sYDab; } goto GZqpR; Gd50D: $i = 1; goto J0mGi; fpjsW: $min = 0.01; goto AWfxr; bihLw: if ($pid) { goto xl0Ql; } goto widnd; DvIdt: $res = $hbreord->where($map)->select(); goto RXEVi; X_6wU: sYDab: goto kaPoa; j05LE: v5MMq: goto AMgNb; Ycz9D: $total = $total - $money; goto nuORI; RXEVi: foreach ($res as $k => $v) { goto pcNzk; dPQnI: $ajax["\x63\x6f\x64\145"] = 0; goto vrOOr; QMOcz: Kp6Qg: goto P6wyJ; jabbz: g0S9E: goto QMOcz; HqSn0: $this->ajaxReturn($ajax); goto jabbz; ybtGL: if (!($p["\x65\156\x64\x5f\164\x69\155\145"] > time() || $p["\145\156\144\x5f\164\x69\x6d\x65"] <= time() && $p["\x6e\x65\x65\144\x5f\x6e\165\x6d"] <= $p["\150\x61\x76\x65\x5f\156\165\x6d"])) { goto g0S9E; } goto dPQnI; vrOOr: $ajax["\151\156\x66\x6f"] = "\346\x82\xa8\345\xb7\262\345\x8f\x82\xe4\270\216\xe8\277\x87\346\255\xa4\xe6\xb4\273\345\212\250"; goto HqSn0; pcNzk: $p = $hbreord->where(["\151\144" => $v["\160\x69\144"]])->find(); goto ybtGL; P6wyJ: } goto hrTEU; M8MeG: u1Gek: goto mB8RH; IGhj6: $add["\x70\x69\x64"] = $pid; goto mKlnW; zKWGk: $money = mt_rand($min * 100, $safe_total * 100) / 100; goto i9qEe; i9qEe: $lastMoney -= $money; goto kSBgs; C2L4A: $add["\x68\x61\x76\145\x5f\x6e\165\155"] = 1; goto xCVKO; a6iXn: $ajax["\151\x6e\x66\x6f"] = "\xe6\x9c\254\346\x9c\x9f\346\264\273\345\x8a\xa8\xe5\267\262\347\xbb\x93\xe6\235\x9f"; goto HQUey; N2m1B: $map["\165\x69\144"] = $uid; goto TTVIh; j_IKA: $i++; goto Py10V; Py10V: goto l9CZq; goto HnGOO; eX3hM: $add["\x75\151\144"] = $uid; goto w69xo; vOyO2: goto g1C0b; goto mAcg7; PV7lD: $ajax["\144\141\x74\x61"] = $id; goto I8gIb; SKTaj: jczVU: goto Ycz9D; U0cy4: a0UtO: goto opNW8; QHens: if ($pid) { goto u1Gek; } goto Pv9Xt; TTVIh: $map["\165\x6e\151\x61\x63\151\144"] = $this->uniacid; goto DvIdt; d8IfN: array_push($tt, $money); goto fXSl3; v60ty: $success_time = time(); goto UJcAd; Pv9Xt: $hbreord->save(["\151\x64" => $id, "\160\x69\144" => $id]); goto M8MeG; VBwD9: $pid = I("\160\151\x64"); goto jyieH; w69xo: $add["\164\x6f\x74\x61\x6c\137\152\151\x6e\x65\162"] = C("\150\142\137\152\151\x6e\x65\x72"); goto TI45C; X06NR: $h = $hbreord->where(["\x69\x64" => $pid])->field("\x69\144\54\x6e\x65\x65\144\137\156\x75\155\54\150\141\x76\145\137\x6e\x75\x6d\54\x65\156\144\x5f\x74\151\155\x65\54\164\x6f\x74\141\x6c\137\152\151\x6e\x65\162")->find(); goto MCelN; tLuOe: $ajax["\143\157\x64\145"] = 0; goto xrVRo; TI45C: $add["\x74\171\x70\145"] = $pid ? 2 : 1; goto IGhj6; UJcAd: $use_end_time = $success_time + 86400 * C("\x68\142\137\165\x73\145\137\145\x6e\144\137\164\151\x6d\x65"); goto VK8Cj; HQUey: $this->ajaxReturn($ajax); goto MFSvQ; D9C93: $hbreord->where(["\151\144" => $pid])->setInc("\x68\x61\x76\145\137\156\x75\x6d"); goto R3YYU; opNW8: anzHE: goto e23nz; AMgNb: $money = $lastMoney; goto SKTaj; gLShE: if (!(C("\150\x62\137\163\x74\x61\x74\165\163") == 1)) { goto DgIhV; } goto Lf8IE; xblGD: $add["\156\x65\145\x64\137\156\x75\155"] = C("\150\142\137\156\165\x6d"); goto C2L4A; KeejS: foreach ($list as $k => $v) { goto kihdz; xlAan: $add["\x65\156\x64\x74\x69\155\145"] = $use_end_time; goto A_tFF; whMIa: $add["\x6a\x69\x6e\x65\162"] = $tt[$k]; goto g4nbF; A_tFF: $add["\x66\151\x64"] = $pid; goto KGyq_; t135M: $add["\154\x69\155\151\x74\x5f\x6a\151\x6e\145\x72"] = C("\x68\x62\137\x70\x61\x79\137\152\151\x6e\x65\162"); goto iIzFd; g4nbF: $add["\141\x64\x64\x74\x69\x6d\x65"] = $success_time; goto xlAan; iIzFd: M("\x68\142\154\151\156\x67\x71\165")->add($add); goto jPoRC; KGyq_: $add["\x75\x6e\x69\141\143\151\144"] = $this->uniacid; goto t135M; kihdz: $add["\x75\x69\144"] = $v["\x75\x69\144"]; goto whMIa; jPoRC: gB8DG: goto SxjJX; SxjJX: } goto szsYh; GZqpR: $list = $hbreord->where(["\160\x69\144" => $pid])->select(); goto fpjsW; szsYh: A39Fk: goto X_6wU; gGiTs: $uid = M("\165\x73\145\x72")->where(["\x75\x74\157\153\x65\156" => $this->utoken, "\x75\x6e\151\x61\143\151\144" => $this->uniacid])->getField("\x69\x64"); goto cXmIQ; nuORI: g1C0b: goto d8IfN; EX0Yh: if ($num == $i) { goto v5MMq; } goto zKWGk; AWfxr: $total = $lastMoney = $h["\x74\157\x74\x61\x6c\x5f\152\x69\x6e\145\162"]; goto LGSlC; xrVRo: $ajax["\151\x6e\146\x6f"] = "\xe8\xaf\245\345\210\206\344\272\253\345\267\262\347\xbb\223\xe6\235\237"; goto U0cy4; mKlnW: $add["\x75\x6e\151\141\143\151\x64"] = $this->uniacid; goto LfhJD; vAGEm: $add["\145\x6e\144\x5f\164\x69\155\145"] = $add["\141\144\x64\x74\x69\155\145"] + 3600 * C("\x68\x62\x5f\145\156\x64\x5f\164\151\155\145"); goto bihLw; hrTEU: MNWGy: goto VBwD9; LGSlC: $num = count($list); goto v60ty; rwS9v: if (!($i <= $num)) { goto csRuj; } goto uxLKI; mAcg7: oaD_P: goto Ys62B; uxLKI: if (C("\150\x62\137\164\x79\x70\x65") == 1) { goto oaD_P; } goto g0LW1; xCVKO: xl0Ql: goto eX3hM; J0mGi: l9CZq: goto rwS9v; MFSvQ: DgIhV: goto gGiTs; tGuSo: $ajax["\x63\x6f\144\x65"] = 1; goto PV7lD; jyieH: if (!$pid) { goto anzHE; } goto X06NR; fXSl3: qVRt_: goto j_IKA; kaPoa: MtijF: goto tGuSo; LfhJD: $id = $hbreord->add($add); goto QHens; HnGOO: csRuj: goto KeejS; cXmIQ: $hbreord = M("\x68\157\156\147\x62\x61\157"); goto N2m1B; I8gIb: $this->ajaxReturn($ajax); goto ismX8; kSBgs: goto jczVU; goto j05LE; MCelN: if (!($h["\x6e\x65\145\144\137\x6e\x75\155"] >= $h["\x68\x61\166\x65\x5f\x6e\165\155"] || $h["\x65\156\x64\137\x74\x69\x6d\145"] < time())) { goto a0UtO; } goto tLuOe; g0LW1: $money = number_format($total / $h["\x6e\145\145\144\137\156\165\x6d"], 2); goto vOyO2; ismX8: } public function pay() { goto OmK0g; wLLy2: $this->ajaxReturn($return); goto yhf5Q; gp3dO: $data["\165\156\x69\141\143\x69\144"] = $this->uniacid; goto XcxI8; MpFYL: $data["\151\x73\137\x75\163\145\x5f\x71\165\x61\x6e"] = 2; goto jhv65; SaGgh: dNOfV: goto e1lW3; p8MsN: $payinfo["\x70\x5f\x69\144"] = substr($payinfo["\160\141\143\153\x61\x67\145"], 10); goto ZtOEC; tWMgU: if (!($order["\x69\x73\137\160\141\x79"] == 1 && $order["\x61\144\144\164\x69\155\145"] + C("\x70\141\171\x5f\145\x6e\x64\137\164\151\155\145") * 60 < time())) { goto MEgsf; } goto vFaX7; ju3YJ: khFVM: goto br49v; F__IP: $data["\141\143\164\x69\166\151\x74\x79\x5f\x69\x64"] = $this->activity["\151\144"]; goto cxRHN; sv2SX: if (!($xiaoquinfo["\x73\x74\141\164\165\163"] != 1)) { goto ZaWAG; } goto fF2q9; UM38K: $payinfo = $weixinpay->pay(); goto p8MsN; y73vA: Q2hKM: goto ju3YJ; OEPlb: $this->ajaxReturn($ajax); goto OXp2Q; zew_T: $uid = M("\x75\163\145\162")->where("\x75\x74\157\153\x65\x6e\x3d\47{$utoken}\x27")->getField("\x69\x64"); goto ho5eY; cxRHN: $data["\147\157\x6f\x64\163\x69\156\x66\x6f"] = json_encode($goodsarr); goto a_ASP; j1CtD: if (!(!$appid || !$mch_id || !$key)) { goto zBTbW; } goto KHZKD; jU9GF: $total_jiner = 0; goto UC9N4; gvxS1: $body = $data["\x62\157\x64\171"] = $goodsarr[0]["\156\x61\x6d\x65"] . "\347\255\x89" . $total_num . "\xe4\273\266\345\225\x86\xe5\x93\x81"; goto JpLAE; teFYr: $data["\x64\141\x79"] = date("\131\x6d\144"); goto hGX2P; AIEe7: $mch_id = C("\155\143\x68\x69\x64"); goto ITzCU; x2Yvm: kodAK: goto j1CtD; U6nVR: $data["\161\165\141\156\x5f\152\x69\x6e\x65\162"] = $param["\161\x75\x61\x6e\x66\x65\145"]; goto ja0SE; Cfy4_: $weixinpay = new WeixinPay($appid, $openid, $mch_id, $key, $out_trade_no . random(6, "\156\165\x6d\142\145\x72"), $body, $total_fee * 100); goto UM38K; bXERG: $appid = C("\x61\x70\x70\151\144"); goto AIEe7; Jd4OL: $data["\x71\x75\x79\165\137\x69\144"] = $xiaoquinfo["\x71\x75\x79\165\137\151\x64"]; goto NjUjj; hvmHT: $return["\x69\156\146\157"] = "\xe5\xb0\217\345\x8c\272\347\x8a\266\346\x80\x81\xe5\274\x82\345\xb8\xb8"; goto kvogK; ipP8n: $return["\x69\156\x66\x6f"] = "\346\xad\244\xe8\256\242\xe5\x8d\x95\346\xb4\xbb\xe5\x8a\xa8\345\267\262\xe7\xbb\223\346\x9d\x9f"; goto LDXBq; UC9N4: $total_num = 0; goto P5OTP; kvogK: $this->ajaxReturn($return); goto zHjVO; nGzJ1: $data["\156\x61\x6d\x65"] = $param["\x6e\x61\x6d\145"]; goto RafA9; ITzCU: $key = C("\x77\170\160\x61\171\x6b\x65\171"); goto c7Hyo; D50t0: LiegY: goto TPB4p; dFCsW: if (!(!$xiaoquinfo || $xiaoquinfo["\163\x74\141\x74\x75\x73"] != 1)) { goto gUL1B; } goto S45AR; Ln1Dr: $return["\x69\x6e\146\157"] = "\xe8\xaf\xb7\351\200\211\xe6\x8b\251\345\x8f\x96\xe9\x80\x81\xe8\264\247\xe6\x96\271\345\274\x8f"; goto TrVx0; WobU4: T1pp2: goto zj4Rj; Zgkth: M("\165\163\145\162")->save(["\x69\x64" => $uid, "\x61\144\x64\x72\145\163\x73\151\x6e\146\x6f" => json_encode(["\150\x6f\165\x73\x65" => $param["\x68\157\165\x73\145"], "\x70\x68\x6f\156\x65" => $param["\160\x68\157\x6e\x65"], "\x6e\141\155\145" => $param["\156\x61\155\x65"]])]); goto Sqegv; br49v: $data["\x75\151\144"] = $uid; goto BMRDT; IdIxX: $this->ajaxReturn($return); goto KVGZ8; OYEyT: $data["\147\157\x6f\x64\163\x5f\151\144"] = implode("\54", $goodsidarr); goto II7LB; zj4Rj: $order = M("\x6f\x72\x64\x65\162")->where(["\157\x75\164\x5f\x74\x72\x61\x64\x65\137\x6e\157" => $oid])->find(); goto tWMgU; OmK0g: $utoken = $openid = I("\165\164\157\153\x65\x6e"); goto BcGy1; II7LB: $data["\x75\163\145\x72"] = $userinfo["\156\x69\143\x6b\x6e\141\155\145"]; goto GcAOZ; eLg3V: $return["\x63\x6f\x64\145"] = 1; goto GCnZF; X85eM: $p = explode("\54", $param["\x67\x69\x64"]); goto vSxI3; u90LF: $data["\141\144\144\162\x65\163\163"] = $param["\150\x6f\x75\163\x65"]; goto TOx7J; FWYhi: if (!($order["\141\143\164\x69\166\x69\164\171\x5f\x69\144"] != $this->activity["\x69\x64"])) { goto S3BAR; } goto mUsY8; ja0SE: $data["\x6c\151\156\147\161\165\137\x71\x75\x61\156\137\151\x64"] = $param["\161\165\141\156\x69\144"]; goto MpFYL; u2D1a: $ajax["\143\157\x64\x65"] = 0; goto OCXmX; iLRoF: $ajax["\151\156\146\x6f"] = "\xe6\xb4\xbb\xe5\x8a\250\345\xb7\xb2\xe7\273\223\xe6\235\x9f"; goto OEPlb; d58Rb: if (!($param["\x70\x65\x69\x73\157\156\x67\137\164\171\160\145"] == 2)) { goto LiegY; } goto Rdkhs; B206P: $this->ajaxReturn($return); goto Q9nyp; e1lW3: $goodsinfo = json_decode($order["\147\x6f\157\144\163\151\156\x66\157"], true); goto Uqljh; CAor1: $return["\x69\156\x66\x6f"] = "\346\234\xaa\350\256\276\xe7\275\256\345\276\256\xe4\277\xa1\346\224\257\xe4\xbb\230\xe5\x8f\202\346\x95\260"; goto wLLy2; KHZKD: $return["\x63\x6f\144\x65"] = 0; goto CAor1; faFGv: foreach ($goodsinfo as $k => $v) { goto IrGmp; VKHG_: $return["\x63\157\x64\145"] = 0; goto dwNG4; uVxrX: $return["\x63\x6f\144\145"] = 0; goto qKzTc; dpCwL: $this->ajaxReturn($return); goto aOo_0; wfAJG: syXyW: goto rQf4K; I3q4D: $return["\151\156\x66\157"] = "\xe6\255\244\350\256\242\xe5\215\x95\xe5\x8c\205\xe5\x90\xab\345\267\xb2\xe8\xbf\207\346\x9c\x9f\345\x95\206\345\x93\201\54\xe8\xaf\267\xe9\x87\215\346\x96\260\344\xb8\213\345\x8d\225"; goto A3d4K; BaUTx: $return["\x63\157\144\145"] = 0; goto LLzgO; NnF4u: $goods = M("\x67\x6f\157\144\163")->where(["\151\144" => $v["\151\x64"]])->field("\x69\144\x2c\x6c\x69\x6d\x69\164\x5f\156\x75\155\x2c\x6d\141\x72\x6b\145\164\137\160\x72\x69\x63\x65\54\x74\165\141\156\137\x70\162\151\143\145\54\164\x68\165\x6d\142\x2c\156\141\x6d\145\54\143\157\x64\145\x2c\153\165\143\x75\156\54\x69\x73\137\x73\150\x61\x6e\147\x6a\x69\141\54\151\163\x5f\144\145\x6c")->find(); goto LYpRj; IrGmp: $goodss = explode("\x2c", $this->activity["\x67\x6f\x6f\144\x73\x5f\151\144\x73"]); goto NnF4u; A3d4K: $this->ajaxReturn($return); goto M15wI; LLzgO: $return["\x69\156\146\x6f"] = "\xe5\x95\206\345\x93\x81" . $goods["\156\141\x6d\145"] . "\350\266\205\345\207\xba\351\x99\x90\xe8\xb4\xad\346\x95\260\351\x87\x8f"; goto U4x03; qKzTc: $return["\151\x6e\x66\157"] = "\xe5\x95\x86\345\x93\201" . $goods["\156\141\155\x65"] . "\xe5\272\223\345\xad\230\xe4\xb8\x8d\350\xb6\263"; goto Cbvg3; dwNG4: $return["\x69\156\146\x6f"] = "\xe5\225\206\345\223\x81" . $goods["\x6e\141\x6d\x65"] . "\345\xb7\262\xe5\xa4\xb1\346\x95\210"; goto dpCwL; LYpRj: if (in_array($v["\151\144"], $goodss)) { goto X7p2Y; } goto ASX1P; rQf4K: if (!($v["\156\x75\x6d"] > $goods["\x6b\165\143\165\156"])) { goto oNFFa; } goto uVxrX; M15wI: X7p2Y: goto FODuA; LgI9u: FybSt: goto HNbsJ; U4x03: $this->ajaxReturn($return); goto wfAJG; gz39v: if (!($goods["\151\x73\137\x73\150\141\156\x67\x6a\151\141"] == 2 || $goods["\x69\x73\137\x64\x65\154"] == 2)) { goto Ke8E4; } goto VKHG_; aOo_0: Ke8E4: goto LgI9u; ASX1P: $return["\x63\x6f\x64\x65"] = 0; goto I3q4D; Fd6Qs: oNFFa: goto gz39v; FODuA: if (!($goods["\154\x69\x6d\151\x74\x5f\156\x75\155"] > 0 && $this->getBuyRecordNum($order["\165\x69\144"], $v["\151\144"]) + $v["\x6e\165\155"] > $goods["\x6c\x69\155\151\164\x5f\156\165\155"])) { goto syXyW; } goto BaUTx; Cbvg3: $this->ajaxReturn($return); goto Fd6Qs; HNbsJ: } goto Y1_um; ZtOEC: $payinfo["\157\x5f\x69\144"] = $out_trade_no; goto hqtxU; IJ5DC: gUL1B: goto PTfw3; KVGZ8: MEgsf: goto FWYhi; PTfw3: if ($param["\x70\x65\151\163\x6f\x6e\x67\x5f\164\171\x70\145"]) { goto sauOS; } goto PLlp3; OHT40: sauOS: goto zew_T; Uqljh: if (!$goodsinfo) { goto MTAer; } goto faFGv; Hn4iA: $data["\171\x65\x61\162"] = date("\131"); goto Yfqqr; TPXp0: if (!$param["\x73\x69\x64"]) { goto b3ubv; } goto pDbdJ; c7Hyo: $oid = I("\x6f\151\144"); goto M0Sv2; mUsY8: $return["\143\x6f\144\x65"] = 0; goto ipP8n; hqtxU: M("\157\162\144\145\x72")->where(["\157\x75\164\x5f\164\x72\x61\144\x65\137\x6e\157" => $out_trade_no])->save(["\160\x72\145\x70\141\x72\x65\x5f\x69\144" => $payinfo["\160\137\151\144"]]); goto eLg3V; Pfapy: if (!($order["\x69\x73\x5f\x70\x61\x79"] == 2)) { goto dNOfV; } goto lQTuq; hiS4F: QPTIE: goto rdUXX; rRUJK: $body = $order["\x62\x6f\144\x79"]; goto foGxC; J6_pQ: $return["\x69\x6e\146\x6f"] = "\xe8\xae\xa2\345\x8d\225\xe5\267\262\xe8\266\205\xe6\227\xb6"; goto IdIxX; YKslc: foreach ($p as $k => $v) { goto YP0jK; gAOd2: $return["\x63\x6f\144\145"] = 0; goto w_uFG; Fi1Tw: NLNnO: goto ZtlHU; XPlPv: $return["\143\x6f\x64\145"] = 0; goto qTZf7; bvC_n: ra7Eq: goto vbpug; Nuknw: $goodss = explode("\x2c", $this->activity["\147\157\x6f\x64\x73\137\x69\x64\163"]); goto xmPrx; TvzMJ: $goods = M("\147\x6f\x6f\144\x73")->where(["\151\144" => $g[0]])->field("\151\144\x2c\154\x69\155\151\x74\x5f\x6e\x75\x6d\54\155\141\162\x6b\145\164\x5f\x70\162\x69\x63\145\54\x74\x75\141\156\137\x70\162\151\x63\145\54\x74\x68\x75\x6d\x62\54\156\x61\x6d\145\x2c\143\x6f\x64\x65\x2c\153\165\x63\x75\156\x2c\x66\x65\x65\x2c\151\163\x5f\x64\145\154\x2c\x69\x73\137\x73\150\x61\156\147\152\151\141")->find(); goto oA_Cr; nYW4M: $return["\x69\156\x66\x6f"] = "\xe6\xad\244\350\xae\242\345\x8d\x95\xe5\x8c\x85\xe5\x90\253\xe5\xb7\262\350\277\207\xe6\x9c\x9f\345\x95\x86\345\x93\201\x2c\xe8\257\xb7\351\207\215\xe6\x96\xb0\xe4\xb8\213\xe5\215\225"; goto V2CMA; dyxpu: saAWm: goto X1HlA; UMYYz: $this->ajaxReturn($return); goto dyxpu; q5VWf: $total_num += $g[1]; goto R0wbU; xmPrx: if (in_array($goods["\151\x64"], $goodss)) { goto DohGD; } goto dbRmA; p_Ouh: $goodsarr[] = $goods; goto ilgxV; dbRmA: $return["\x63\x6f\x64\145"] = 0; goto nYW4M; zvIdL: if (!($goods["\x6c\151\x6d\x69\x74\x5f\156\x75\x6d"] > 0 && $this->getBuyRecordNum($uid, $g[0]) + $g[1] > $goods["\x6c\x69\155\x69\x74\x5f\x6e\165\x6d"])) { goto saAWm; } goto XPlPv; BqQ6H: FPaCB: goto q5VWf; kcUpm: DohGD: goto zvIdL; ZtlHU: $goods["\x6e\x75\155"] = $g[1]; goto p_Ouh; TJH9W: $return["\143\x6f\x64\x65"] = 0; goto OkHNv; ilgxV: $total_jiner += $goods["\x74\165\x61\156\x5f\160\x72\x69\x63\x65"] * $g[1]; goto BqQ6H; R0wbU: dI63N: goto J3nby; w_uFG: $return["\x69\156\146\x6f"] = "\xe5\x95\206\345\x93\201" . $goods["\x6e\141\x6d\145"] . "\345\267\xb2\345\244\261\xe6\225\210"; goto wGgiH; wGgiH: $this->ajaxReturn($return); goto Fi1Tw; YP0jK: $g = explode("\x5f", $v); goto IeOaE; vbpug: if (!($goods["\x69\x73\x5f\x73\x68\x61\156\147\x6a\x69\141"] == 2 || $goods["\x69\163\137\144\145\154"] == 2)) { goto NLNnO; } goto gAOd2; oA_Cr: if (!$goods) { goto FPaCB; } goto Nuknw; qTZf7: $return["\x69\156\x66\x6f"] = "\xe5\225\x86\345\223\201" . $goods["\x6e\141\155\x65"] . "\xe8\266\x85\xe5\207\xba\351\231\x90\xe8\264\255\xe6\x95\260\351\x87\x8f"; goto UMYYz; kQ6pN: $goodsidarr[] = $g[0]; goto TvzMJ; J3nby: wsPwl: goto fcOvo; OkHNv: $return["\x69\156\x66\x6f"] = "\345\225\206\xe5\223\201" . $goods["\x6e\x61\155\x65"] . "\xe5\xba\x93\345\xad\230\xe4\270\215\xe8\xb6\xb3"; goto u7Enx; X1HlA: if (!($g[1] > $goods["\x6b\x75\x63\165\156"])) { goto ra7Eq; } goto TJH9W; IeOaE: if (!($g[0] && $g[1])) { goto dI63N; } goto kQ6pN; V2CMA: $this->ajaxReturn($return); goto kcUpm; u7Enx: $this->ajaxReturn($return); goto bvC_n; fcOvo: } goto y73vA; gcA4b: $this->ajaxReturn($ajax); goto uwihf; ZeY2w: if (!(time() > $this->activity["\x65\156\144\137\x74\x69\155\x65"])) { goto UVLWd; } goto CN5Zm; ho5eY: $userinfo = M("\x75\x73\145\x72")->where("\x75\164\157\153\x65\x6e\x3d\x27{$utoken}\47")->find(); goto t85a4; CN5Zm: $ajax["\x63\x6f\x64\145"] = 0; goto iLRoF; OXp2Q: UVLWd: goto trvwN; D3J6a: $out_trade_no = $order["\157\x75\164\x5f\x74\x72\141\x64\x65\137\156\x6f"]; goto rRUJK; thMAq: MTAer: goto w1M3z; BcGy1: $param = I("\x70\157\x73\164\56"); goto bXERG; fWr2Q: $data["\x69\163\x5f\x75\163\145\x5f\x68\142"] = 2; goto yP7mT; yhf5Q: zBTbW: goto Cfy4_; M0Sv2: if ($oid) { goto T1pp2; } goto TPXp0; BYhiV: M("\163\x68\x6f\x70\x63\x61\162\x74")->where($where)->delete(); goto rAgRO; GCnZF: $return["\x64\x61\x74\x61"] = $payinfo; goto B206P; NjUjj: $data["\170\x69\x61\157\x71\165\x5f\x69\144"] = $xiaoquinfo["\151\x64"]; goto u90LF; cJZwd: $return["\x69\156\146\x6f"] = "\350\256\xa2\345\x8d\225\345\xb7\xb2\346\x94\xaf\344\273\x98"; goto aR0xK; Sqegv: goto kodAK; goto WobU4; LDXBq: $this->ajaxReturn($return); goto wbHpI; lQTuq: $return["\x63\x6f\x64\145"] = 0; goto cJZwd; RafA9: $data["\155\x6f\x62\x69\154\x65"] = $param["\160\150\157\156\145"]; goto Jd4OL; TrVx0: $this->ajaxReturn($return); goto OHT40; UA1ar: $total_fee = $data["\x70\141\x79\x5f\152\x69\156\145\162"] = $param["\160\141\x79\137\x6a\151\156\145\x72"]; goto gvxS1; vFaX7: $return["\x63\x6f\x64\x65"] = 0; goto J6_pQ; BMRDT: $data["\x75\x74\157\x6b\x65\x6e"] = $this->utoken; goto gp3dO; Y1_um: d_Rfc: goto thMAq; TPB4p: if (!($param["\x71\x75\x61\x6e\151\x64"] && $param["\161\x75\141\156\x66\145\x65"])) { goto QPTIE; } goto U6nVR; vSxI3: $goodsarr = []; goto oCzKB; rdUXX: if (!($param["\x68\142\x69\144"] && $param["\x68\142\x66\x65\x65"])) { goto Jqmk0; } goto VPcCL; yP7mT: M("\x68\142\x6c\x69\x6e\x67\161\165")->save(["\x69\144" => $param["\150\x62\151\x64"], "\163\164\141\x74\x75\163" => 2]); goto iGsvA; pDbdJ: $where["\151\144"] = array("\x69\x6e", $param["\x73\x69\144"]); goto BYhiV; a_ASP: $data["\164\165\x61\x6e\137\165\151\144"] = $xiaoquinfo["\165\151\144"]; goto Hn4iA; tEhcN: $this->ajaxReturn($return); goto IJ5DC; uwihf: AEtsw: goto ZeY2w; PLlp3: $return["\x63\157\x64\x65"] = 0; goto Ln1Dr; wbHpI: S3BAR: goto Pfapy; trvwN: $xiaoquinfo = $this->getXiaoqu(); goto dFCsW; Rdkhs: $data["\x70\x65\151\x73\157\x6e\x67\137\x66\145\145"] = C("\x70\145\151\x73\157\x6e\x67\x5f\146\x65\x65"); goto D50t0; TOx7J: $data["\146\x65\145"] = C("\146\x65\145"); goto F__IP; oCzKB: $goodsidarr = []; goto jU9GF; zHjVO: ZaWAG: goto D3J6a; OCXmX: $ajax["\x69\156\x66\157"] = "\xe6\264\xbb\345\x8a\250\346\x9c\252\345\xbc\x80\345\xa7\213"; goto gcA4b; GcAOZ: $data["\x72\x65\x6d\x61\x72\x6b"] = $param["\162\145\155\141\x72\x6b"]; goto nGzJ1; t85a4: $out_trade_no = $data["\157\x75\164\137\164\x72\x61\144\145\x5f\x6e\x6f"] = build_order_no(); goto X85eM; wftIM: $data["\x74\x6f\164\x61\x6c\137\156\165\155"] = $param["\164\157\x74\x61\154\137\x6e\x75\x6d"]; goto ojV7J; S45AR: $return["\143\157\x64\x65"] = 0; goto UMN9q; ojV7J: $data["\164\157\164\x61\154\137\x6a\x69\x6e\145\162"] = $param["\164\157\x74\141\154\137\152\x69\x6e\145\x72"]; goto sSSDw; rAgRO: b3ubv: goto H1QP9; iGsvA: Jqmk0: goto UA1ar; hGX2P: $data["\x70\x65\x69\163\x6f\x6e\x67\137\164\x79\x70\x65"] = $param["\160\x65\151\x73\x6f\156\147\x5f\164\171\x70\145"]; goto d58Rb; jhv65: M("\155\145\155\x62\145\x72\137\x71\x75\141\156")->save(["\151\144" => $param["\x71\x75\141\x6e\151\144"], "\x73\164\x61\x74\165\x73" => 2]); goto hiS4F; Yfqqr: $data["\x6d\x6f\x6e\164\150"] = date("\131\x6d"); goto teFYr; fF2q9: $return["\143\157\144\145"] = 0; goto hvmHT; aR0xK: $this->ajaxReturn($return); goto SaGgh; sSSDw: $data["\x66\157\162\155\x5f\x69\144"] = $param["\146\x6f\x72\155\x5f\x69\144"]; goto OYEyT; foGxC: $total_fee = $order["\x70\x61\x79\x5f\x6a\151\156\x65\162"]; goto x2Yvm; VPcCL: $data["\x68\142\x66\145\145"] = $param["\150\x62\x66\145\x65"]; goto AsIIo; P5OTP: if (!$p) { goto khFVM; } goto YKslc; JpLAE: M("\x6f\162\144\145\x72")->add($data); goto Zgkth; XcxI8: $data["\141\144\x64\x74\151\x6d\145"] = time(); goto wftIM; UMN9q: $return["\x69\156\x66\x6f"] = "\xe5\xb0\217\345\x8c\272\347\212\266\xe6\200\x81\345\xbc\202\345\xb8\270"; goto tEhcN; H1QP9: if (!(time() < $this->activity["\x73\x74\x61\162\164\x5f\x74\x69\x6d\x65"])) { goto AEtsw; } goto u2D1a; AsIIo: $data["\x68\142\151\144"] = $param["\x68\x62\151\x64"]; goto fWr2Q; w1M3z: $xiaoquinfo = M("\x78\151\x61\157\x71\x75")->where(["\x69\144" => $order["\170\151\x61\157\161\165\137\151\x64"]])->field("\x69\x64\x2c\x73\164\141\164\x75\x73")->find(); goto sv2SX; Q9nyp: } private function getBuyRecordNum($uid, $goodsid) { goto N4PLH; Sf78_: $map["\x75\x6e\x69\x61\x63\151\144"] = $this->uniacid; goto ZlaG5; nEh86: $sum = M("\x62\x75\x79\162\x65\x63\157\x72\144")->where($map)->sum("\156\x75\155"); goto itZXF; N4PLH: $map["\x75\151\144"] = $uid; goto r66BC; r66BC: $map["\147\157\x6f\144\163\x69\144"] = $goodsid; goto Sf78_; itZXF: return $sum ? $sum : 0; goto XlSHj; ZlaG5: $map["\x61\x63\164\151\166\151\164\x79\x5f\x69\x64"] = $this->activity["\151\x64"]; goto nEh86; XlSHj: } public function isChange() { goto AgapH; kpdyc: if (!($data["\x69\x73\137\x74\165\x61\156"] == 2)) { goto U3EUO; } goto Q13Qp; Q13Qp: $id = M("\x78\x69\x61\x6f\x71\165")->where(["\165\x69\144" => $data["\151\144"]])->getField("\x69\x64"); goto NjgZe; ylaHd: $return["\143\x6f\x64\145"] = 1; goto I0u9L; BH5tf: U3EUO: goto ylaHd; NjgZe: $flag = $id != I("\x6e\x6f\x77\x69\144") ? 1 : 0; goto BH5tf; kpSUl: $flag = 0; goto scqRh; rJRaS: $this->ajaxReturn($return); goto oCE_7; I0u9L: $return["\144\141\x74\141"] = $id; goto rJRaS; scqRh: $id = 0; goto kpdyc; AgapH: $data = M("\165\163\x65\162")->where(["\165\164\x6f\153\145\156" => $this->utoken, "\x75\x6e\151\x61\143\x69\144" => $this->uniacid])->field("\x69\x64\54\151\x73\137\164\165\x61\x6e")->find(); goto kpSUl; oCE_7: } public function getZiTuanZhang() { goto R2aix; nOSo4: $this->ajaxReturn($return); goto avl_v; ech8w: foreach ($data as $k => $v) { goto RLgxT; wMTg5: $where["\x74\171\x70\145"] = 2; goto WxpKv; d5rFb: $data[$k]["\x6d\x6f\x6e\145\171"] = $yj ? $yj : 0; goto OgM27; r1D2J: $yj = M("\162\x65\x77\x61\x72\x64\154\157\147")->where($where)->sum("\x6d\157\x6e\145\171"); goto d5rFb; RLgxT: $where["\x75\151\144"] = $uid; goto wMTg5; ViXIL: $where["\170\x69\x61\x6f\x71\x75\x5f\x69\144"] = $v["\151\144"]; goto r1D2J; OgM27: iSWld: goto sZ57j; WxpKv: $where["\x75\156\151\141\143\151\x64"] = $this->uniacid; goto ViXIL; sZ57j: } goto LO_pI; OOd0y: $map["\x75\x6e\151\x61\143\x69\144"] = $this->uniacid; goto LDWZr; R2aix: $uid = M("\x75\163\145\162")->where(["\x75\x74\x6f\153\x65\156" => $this->utoken, "\x75\x6e\151\141\x63\x69\x64" => $this->uniacid])->getField("\x69\x64"); goto OAnAu; hGp6a: $data = []; goto rF5cY; sa1lE: $where["\x75\156\x69\141\x63\x69\x64"] = $this->uniacid; goto y3hUd; y3hUd: $data = M("\x78\x69\141\157\161\x75")->where($where)->field("\x69\x64\54\x74\x75\141\156\x5f\x6e\x61\155\x65\54\x6d\x6f\x62\x69\x6c\145\x2c\x75\151\144\54\x6e\x61\155\x65")->select(); goto ech8w; Zpgc8: $where["\163\x74\141\164\x75\x73"] = 1; goto qjADj; qjADj: $where["\151\x64"] = array("\x69\156", explode("\x2c", $uuid)); goto sa1lE; LDWZr: $uuid = M("\x7a\157\x6e\147\164\x75\x61\156\172\150\x61\x6e\x67")->where($map)->getField("\x75\165\151\144"); goto hGp6a; OAnAu: $map["\165\151\x64"] = $uid; goto rGM37; rGM37: $map["\x73\164\141\x74\x75\163"] = 1; goto OOd0y; WlJ9t: gVsD5: goto xnu7Q; xnu7Q: $return["\143\x6f\144\x65"] = 1; goto BzIml; LO_pI: Pb1QK: goto WlJ9t; BzIml: $return["\144\x61\x74\x61"] = $data; goto nOSo4; rF5cY: if (!$uuid) { goto gVsD5; } goto Zpgc8; avl_v: } public function tixian() { goto NYoWn; b5f2t: $ajax["\143\x6f\144\145"] = 0; goto zR8_X; MNmPU: $ajax["\151\156\146\x6f"] = "\xe4\xbd\x99\xe9\xa2\235\xe4\270\x8d\350\xb6\xb3"; goto b5f2t; srzQn: $uid = $user["\x69\x64"]; goto IFYMc; Xiz70: $data["\x75\x6e\x69\x61\x63\x69\144"] = $this->uniacid; goto qF4gx; Tlzgc: $data["\152\151\x6e\145\x72"] = $money; goto DjstB; qF4gx: $res = M("\x74\x69\170\151\x61\156")->add($data); goto VKctu; FsOyc: add_min_u($user["\151\144"], $kou, "\x62\162\157\x6b\x65\162\x61\x67\145", "\xe6\217\x90\347\216\xb0\xe6\211\xa3\xe9\231\244\x2c\111\x44\72" . $res, $this->uniacid, 2); goto xRinR; F7ex_: hbabA: goto HJlit; JLB6U: gtTiL: goto l3XGn; YSgeJ: $map["\165\156\151\141\143\x69\x64"] = $this->uniacid; goto iRCiU; RjS68: if (!($user["\x62\x72\x6f\x6b\145\162\141\x67\x65"] < $money * (100 + C("\151\x73\x5f\x77\151\x74\150\144\162\x61\x77\137\160\145\162\x63\x65\156\164")) / 100)) { goto gtTiL; } goto MNmPU; vPMjg: $this->ajaxReturn($ajax); goto nJrX3; SGBgM: $ajax["\x69\x6e\146\157"] = "\346\217\220\xe7\x8e\260\xe9\x87\x91\351\xa2\235\xe9\x94\231\xe8\xaf\257"; goto dG6Qi; DOBIf: $map["\x75\x69\144"] = $uid; goto YSgeJ; l3XGn: $data["\165\151\x64"] = $uid; goto Tlzgc; NYoWn: $money = I("\155\157\x6e\145\x79"); goto bYORJ; HJlit: $user = M("\x75\163\x65\x72")->where(["\165\164\x6f\x6b\145\x6e" => $this->utoken, "\165\x6e\151\x61\x63\151\x64" => $this->uniacid])->field("\11\151\x64\54\x62\x72\x6f\x6b\x65\x72\141\x67\x65")->find(); goto srzQn; S99rn: $ajax["\x63\157\x64\x65"] = 1; goto HTB1g; iRCiU: if (!(M("\x74\x69\x78\151\141\x6e")->where($map)->count() >= C("\x69\163\137\167\x69\x74\x68\144\x72\141\x77\x5f\x66\162\145\161\x75\145\x6e\143\171"))) { goto BYm8X; } goto KnQ8y; KnQ8y: $ajax["\151\x6e\146\157"] = "\xe6\x9c\xac\345\x91\xa8\xe6\x8f\220\xe7\x8e\xb0\346\xac\241\xe6\x95\xb0\345\xb7\xb2\xe7\224\250\345\256\x8c"; goto hRZ4b; nJrX3: QcmS2: goto Muqmn; qPNXj: BYm8X: goto RjS68; VKctu: if (!$res) { goto O9Esj; } goto FsOyc; IFYMc: $map["\141\x64\144\164\151\155\145"] = array("\142\145\x74\x77\145\145\156", [strtotime("\164\150\x69\x73\40\x77\x65\145\x6b"), strtotime("\164\x68\x69\163\x20\x77\x65\x65\153") + 7 * 86400]); goto DOBIf; Muqmn: if (!($money <= 0 || $money > C("\x69\163\x5f\167\151\164\x68\x64\162\141\x77\137\x6c\151\155\x69\164\137\155\141\170") || $money < C("\151\163\x5f\x77\x69\164\150\x64\x72\x61\167\137\x6c\x69\x6d\151\x74\137\x6d\x69\x6e"))) { goto hbabA; } goto SGBgM; Tcuud: $data["\x66\145\x65"] = $money * C("\x69\163\x5f\x77\x69\164\x68\x64\x72\141\167\137\160\145\x72\143\x65\156\x74") / 100; goto oOdI2; n05qi: $this->ajaxReturn($ajax); goto qPNXj; dG6Qi: $ajax["\x63\x6f\144\x65"] = 0; goto n39nM; hRZ4b: $ajax["\143\157\x64\145"] = 0; goto n05qi; bYORJ: if (!(C("\x69\x73\x5f\x77\151\164\150\144\162\x61\x77") == 2)) { goto QcmS2; } goto NjETN; oOdI2: $data["\x61\x64\144\x74\151\x6d\x65"] = time(); goto Xiz70; DjstB: $data["\153\x6f\165\x5f\152\151\x6e\145\162"] = $kou = $money * ((100 + C("\x69\163\x5f\x77\x69\x74\x68\x64\x72\x61\167\x5f\160\145\162\x63\145\x6e\164")) / 100); goto Tcuud; zR8_X: $this->ajaxReturn($ajax); goto JLB6U; NjETN: $ajax["\x69\156\x66\x6f"] = "\347\246\x81\346\255\xa2\xe6\217\220\xe7\216\260"; goto xENoP; cejAP: $ajax["\151\x6e\x66\157"] = "\xe6\217\x90\xe4\xba\xa4\xe6\x88\220\345\x8a\x9f"; goto S99rn; n39nM: $this->ajaxReturn($ajax); goto F7ex_; xRinR: O9Esj: goto cejAP; HTB1g: $this->ajaxReturn($ajax); goto Qr24Y; xENoP: $ajax["\x63\157\x64\145"] = 0; goto vPMjg; Qr24Y: } public function getUserCouponList() { goto xcw1w; OwJum: if (!$data) { goto oH9Ri; } goto biBHu; utBoM: OsUJR: goto fYbhg; biBHu: foreach ($data as $k => $v) { goto idZ85; qJheL: Apm5u: goto g03ck; hK_A8: $data[$k]["\x73"] = $v["\x65\x6e\x64\x5f\164\x69\155\x65"] < time() ? 0 : 1; goto qJheL; idZ85: $data[$k]["\x65\x6e\144\137\x74\x69\155\x65"] = date("\131\x2d\x6d\x2d\144", $v["\x65\x6e\144\x5f\164\x69\155\x65"]); goto hK_A8; g03ck: } goto utBoM; xcw1w: $uid = M("\x75\x73\145\162")->where(["\165\x74\157\x6b\x65\156" => $this->utoken, "\x75\x6e\151\x61\x63\151\x64" => $this->uniacid])->getField("\151\144"); goto SeqgZ; fYbhg: oH9Ri: goto M3f4p; xusn9: $data = M("\x6d\145\x6d\142\145\x72\137\x71\165\x61\156")->where($map)->order("\145\x6e\x64\x5f\x74\151\155\145\x20\141\x73\x63")->field("\x69\144\x2c\152\151\x6e\x65\162\x2c\155\x6f\x6e\145\171\54\145\156\x64\137\x74\x69\155\145\x2c\x73\164\141\x74\165\x73\54\161\x75\x61\x6e\x5f\x74\171\x70\x65")->select(); goto OwJum; ZkKq9: $map["\x73\x74\141\164\165\x73"] = 1; goto F4G8O; M3f4p: $ajax["\143\157\144\x65"] = 1; goto ZbsIx; F4G8O: $map["\165\156\151\x61\143\151\144"] = $this->uniacid; goto xusn9; ZbsIx: $ajax["\144\141\164\x61"] = list_arr($data, "\x73"); goto v7yDp; v7yDp: $this->ajaxReturn($ajax); goto H3gs9; SeqgZ: $map["\165\151\x64"] = $uid; goto ZkKq9; H3gs9: } public function getUserOrderList() { goto fLoxl; SlAR4: $where["\x61\x2e\151\163\x5f\x64\x65\x6c"] = 1; goto t0Ib9; jvzgo: O10JA: goto NCG_h; ScJLr: $this->ajaxReturn($ajax); goto aDxq5; Srs9K: QsvVI: goto Yk_e4; FYWpA: $ajax["\144\x61\x74\x61"] = $list; goto ScJLr; X11yv: $select_type = I("\163\x74\141\164\x75\163", 0); goto ZEH_H; YdkHF: foreach ($list as $k => $v) { goto r5kCH; iYtZH: $list[$k]["\x67\x6f\x6f\144\x73"] = $goods; goto kOUIy; rpsUO: jyhLW: goto oOLnr; wGZzc: $text = "\345\xbe\205\345\217\x91\350\264\xa7"; goto LJYKU; fZh6G: $text2 = "\xe5\x8e\273\346\224\xaf\344\xbb\x98"; goto rpsUO; Mb841: if ($v["\x74\x75\x69\137\163\x74\x61\x74\165\163"] == 2) { goto GdKhE; } goto CwWCi; vleQR: mCp6b: goto T683t; r5kCH: $list[$k]["\x61\144\x64\x74\x69\155\x65"] = date("\x59\x2d\155\55\x64\40\x48\72\x69\72\163", $v["\141\x64\x64\x74\x69\155\145"]); goto LAEhB; JCWmr: if (!($v["\x69\x73\x5f\164\x75\x69"] == 2)) { goto dINJN; } goto SYfKl; r2XWH: dINJN: goto CdYW4; wMaJ6: $text = "\xe8\256\xa2\345\215\225\345\267\262\351\x80\x80\xe6\254\276"; goto vleQR; YCoO_: b6cTs: goto hrxrt; SYfKl: if ($v["\x74\x75\x69\137\x73\x74\x61\x74\x75\x73"] == 1) { goto b6cTs; } goto Mb841; OFcpr: ANDR0: goto VJzkc; CdYW4: $list[$k]["\x73\164\x61\x74\x75\x73\164\x65\170\x74"] = $text; goto JJgtH; LAEhB: $goods = json_decode($v["\x67\157\x6f\144\x73\151\156\146\x6f"], true); goto iYtZH; hrxrt: $text = "\xe8\xae\xa2\xe5\x8d\x95\xe9\x80\200\xe6\xac\xbe\344\270\xad"; goto gH9O_; T0ntV: goto mCp6b; goto D_Y9u; BcbpW: if (!($v["\151\163\137\160\141\171"] == 1)) { goto jyhLW; } goto QtfxB; LJYKU: ufiMx: goto PHcBz; zOfFi: $text = "\xe5\xb7\xb2\345\xae\x8c\346\210\220"; goto oJ6UV; PHcBz: if (!($v["\x69\163\x5f\x70\141\171"] == 2 && $v["\151\163\137\x73\x65\x6e\x64"] == 2 && $v["\x69\163\137\x63\157\x6d\x70\x6c\x65\164\145"] == 1)) { goto Vbt72; } goto zhKvx; gH9O_: PyPEW: goto r2XWH; CwWCi: $text = "\350\256\242\345\x8d\225\xe9\x80\x80\346\xac\xbe\345\xb7\xb2\346\x8b\x92\347\273\x9d"; goto T0ntV; D_Y9u: GdKhE: goto wMaJ6; bzrSZ: if (!($v["\151\x73\137\160\141\171"] == 2 && $v["\151\x73\137\x73\x65\156\144"] == 2 && $v["\x69\x73\137\x63\x6f\155\160\x6c\145\x74\x65"] == 2 && $v["\151\163\x5f\x63\157\x6d\x6d\x65\x6e\164"] == 1)) { goto a50dk; } goto zOfFi; QtfxB: $text = "\345\276\205\xe4\xbb\230\xe6\254\xbe"; goto fZh6G; oJ6UV: a50dk: goto JCWmr; kOUIy: $text2 = ''; goto BcbpW; T683t: goto PyPEW; goto YCoO_; JJgtH: $list[$k]["\x73\164\141\164\165\163\164\x65\x78\x74\x32"] = $text2; goto OFcpr; PPi89: Vbt72: goto bzrSZ; zhKvx: $text = "\xe5\xbe\x85\xe6\x94\xb6\xe8\xb4\247"; goto PPi89; oOLnr: if (!($v["\151\x73\137\x70\x61\171"] == 2 && $v["\151\x73\x5f\x73\x65\x6e\144"] == 1)) { goto ufiMx; } goto wGZzc; VJzkc: } goto Srs9K; NCG_h: $where["\x61\56\165\151\x64"] = $uid; goto SlAR4; Id3SP: switch ($select_type) { case 1: goto XiHHd; iFnEc: $where["\141\x2e\x69\x73\137\164\x75\151"] = 1; goto dCg1U; dCg1U: goto fef18; goto P__Xk; XiHHd: $where["\141\x2e\151\x73\x5f\x70\141\171"] = 1; goto iFnEc; P__Xk: case 2: goto d2w8h; XkDaw: $where["\x61\x2e\x69\x73\x5f\163\x65\156\144"] = 1; goto bNxah; d2w8h: $where["\141\x2e\x69\x73\x5f\x70\x61\x79"] = 2; goto XkDaw; ePgwr: goto fef18; goto zw4F3; bNxah: $where["\141\x2e\x69\163\x5f\x74\165\x69"] = 1; goto ePgwr; zw4F3: case 3: goto KxbIq; SBX8d: $where["\x61\56\151\x73\137\143\157\x6d\x70\154\145\x74\x65"] = 1; goto V3iw5; MaliF: $where["\x61\x2e\151\163\137\x73\145\156\x64"] = 2; goto SBX8d; V3iw5: $where["\141\x2e\x69\x73\137\164\165\x69"] = 1; goto TGwcR; KxbIq: $where["\x61\x2e\x69\x73\137\x70\x61\171"] = 2; goto MaliF; TGwcR: goto fef18; goto Aqb2k; Aqb2k: case 4: $where["\x61\56\x69\x73\x5f\x74\x75\151"] = 2; goto fef18; default: $where["\141\56\x73\164\x61\x74\x75\x73"] = array("\154\164", 4); } goto tCmTy; t0Ib9: $where["\141\x2e\x75\156\151\141\x63\x69\144"] = $this->uniacid; goto lO9uD; ksRtr: fef18: goto jvzgo; lO9uD: $field = "\151\x64\x2c\x6f\x75\x74\x5f\164\x72\141\144\145\x5f\x6e\x6f\x2c\x70\141\x79\137\x6a\x69\156\x65\162\x2c\164\x6f\164\x61\x6c\137\152\151\156\x65\x72\x2c\151\163\x5f\x70\x61\171\x2c\x69\163\x5f\163\x65\x6e\x64\x2c\151\163\137\x74\x75\x69\54\x74\x75\151\x5f\x73\x74\141\164\x75\163\54\151\x73\x5f\143\x6f\155\160\x6c\x65\x74\x65\54\151\163\x5f\143\157\155\155\x65\156\164\54\x67\x6f\x6f\x64\163\x69\x6e\146\x6f\54\x61\x64\x64\x74\x69\155\x65"; goto DIcnd; ZEH_H: if (!$select_type) { goto O10JA; } goto Id3SP; tCmTy: EgxL9: goto ksRtr; DIcnd: $list = M("\157\x72\x64\x65\x72")->alias("\141")->where($where)->order("\x69\144\40\144\145\163\143")->field($field)->page($offset . "\54" . $pagesize)->select(); goto YdkHF; g4rFj: $uid = M("\165\163\145\x72")->where(["\165\164\x6f\x6b\145\156" => $this->utoken, "\x75\156\x69\x61\x63\x69\x64" => $this->uniacid])->getField("\151\144"); goto cX771; Yk_e4: $ajax["\143\157\x64\145"] = 1; goto FYWpA; QVPIl: $pagesize = 10; goto X11yv; cX771: $offset = I("\x6f\146\146\163\145\164", 1); goto QVPIl; fLoxl: $utoken = I("\x75\x74\157\x6b\145\156"); goto g4rFj; aDxq5: } }